Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [New comment] struct doesn't support format string of type bytes
2. [New comment] StringIO read and writes fail with "ValueError: write to 
closed file" exception
3. [New comment] StringIO read and writes fail with "ValueError: write to 
closed file" exception
4. [New comment] Quoted IRONPYTHONPATH causes error with "import"
5. [New comment] System.Decimal string.format issue

----------------------------------------------

ISSUES

1. [New comment] struct doesn't support format string of type bytes
http://ironpython.codeplex.com/workitem/34682
User jdhardy has commented on the issue:

"<p>Can you submit a pull request? It would also help to use `git rebase -i 
HEAD~4` to collapse it to a single change.</p>"-----------------

2. [New comment] StringIO read and writes fail with "ValueError: write to 
closed file" exception
http://ironpython.codeplex.com/workitem/34683
User jbester1 has commented on the issue:

"<p>Looked into a bit - it looks the __init__ is never being called in BytesIO 
class used by StringIO as a backing store. Adding an BytesIO __init__ call (in 
the StringIO __init__) fixes both the read and write close errors.  But only 
*really* fixes the read case not the write case.   Rerunning the write case I 
now get the following:</p><p> 
----------------------------------------------------------------------<br>Traceback
 (most recent call last):<br>  File 
&quot;C:\iron_python_bugs\stringio_tests.py&quot;, line 19, in test_write<br>   
 output_file.write(&quot;hello world\n&quot;)<br>LookupError: unknown error 
handler name 
'string'</p><p>----------------------------------------------------------------------</p>"-----------------

3. [New comment] StringIO read and writes fail with "ValueError: write to 
closed file" exception
http://ironpython.codeplex.com/workitem/34683
User jbester1 has commented on the issue:

"<p>Possible Fix; also addresses 
34713</p><p>https://github.com/jbester/main/compare/IronLanguages:master...jbester:stringio<br></p>"-----------------

4. [New comment] Quoted IRONPYTHONPATH causes error with "import"
http://ironpython.codeplex.com/workitem/34687
User jdhardy has commented on the issue:

"<p>Environment variables are special because you can also set them in the 
Windows &quot;Environment Variables&quot; dialog box, and people (i.e. me) have 
been known to use quotes there as well because they misunderstand how it works 
(it doesn't help that the Windows quoting rules are complicated and 
inconsistent).</p><p>IronPython is the program that's interpreting the 
environment variable, and I think removing quotes from the beginning &amp; end 
of each path is a reasonable thing to do.</p><p>I also have a vague 
recollection of already having fixed this issue, so I'll to see what's going on 
here.</p>"-----------------

5. [New comment] System.Decimal string.format issue
http://ironpython.codeplex.com/workitem/34710
User jdhardy has commented on the issue:

"<p>The format protocol allows types to have a [__format__ 
method](http://www.python.org/dev/peps/pep-3101/) that lets them participate 
without chaning the built-in format function. There's an extension mechanism, 
also used for System.Double and System.Int32, that allows adding those special 
methods to .NET types so that they can interact with Python 
facilities.</p><p>We wouldn't need to get any other Python implementation to 
support System.Decimal; it's just a matter of adding the appropriate extension 
in IronPython. I'd have to dig into the code to remember exactly how to do it, 
but I know it's possible.</p>"
----------------------------------------------



----------------------------------------------
You are receiving this email because you subscribed to notifications on 
CodePlex.

To report a bug, request a feature, or add a comment, visit IronPython Issue 
Tracker. You can unsubscribe or change your issue notification settings on 
CodePlex.com.
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
https://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to