Hi ironpython,

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

In today's digest:ISSUES

1. [New comment] NotImplementedError: buffer_info not implemented for the array 
module
2. [New comment] Should sys.getfilesystemencoding() return 'mbcs' now that this 
is a supported encoding?
3. [New comment] simplify use of .net enumeration

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

ISSUES

1. [New comment] NotImplementedError: buffer_info not implemented for the array 
module
http://ironpython.codeplex.com/workitem/23778
User jdhardy has commented on the issue:

"<p>slide_o_mix: the method in question in .buffer_in*f*o, not .buffer_in*t*o. 
Re-opening in case this still needs to be fixed.</p>"-----------------

2. [New comment] Should sys.getfilesystemencoding() return 'mbcs' now that this 
is a supported encoding?
http://ironpython.codeplex.com/workitem/24220
User jdhardy has commented on the issue:

"<p>CPython uses mbcs on Windows in both 2.7 and 3.3. However, I don't think it 
works properly on IronPython:</p><p>```<br>IronPython 2.7.5b3 (2.7.5.0) on .NET 
4.0.30319.34014 (32-bit)<br>Type &quot;help&quot;, &quot;copyright&quot;, 
&quot;credits&quot; or &quot;license&quot; for more 
information.<br>&gt;&gt;&gt; x = &quot;euro(?), Latin-2 (L) or Latin-1 
(รค)&quot;<br>&gt;&gt;&gt; x<br>u'euro(\u20ac), Latin-2 (\u0141) or Latin-1 
(\xe4)'<br>&gt;&gt;&gt; x.decode('mbcs')<br>Traceback (most recent call 
last):<br>  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>  File 
&quot;ironlanguages\External.LCA_RESTRICTED\Languages\IronPython\27\Lib\encodings\mbcs.py&quot;,
 line 21, in decode<br>UnicodeEncodeError: ('ascii', u'\u20ac', 5, 6, 
&quot;'ascii' codec can't decode byte 20AC in position 5: ordinal not in 
range&quot;)<br>&gt;&gt;&gt; with open(x, 'w') as f:<br>...     
f.write(x)<br>...<br>Traceback (most recent call last):<br>  File 
&quot;&lt;stdin&gt;&quot;, line 2, in &lt;module&gt;<br>UnicodeEncodeError: 
('unknown', '\x00', 0, 1, &quot;'ascii' codec can't encode character '\\u20AC' 
in position 5&quot;)<br>&gt;&gt;&gt;<br>```</p>"-----------------

3. [New comment] simplify use of .net enumeration
http://ironpython.codeplex.com/workitem/35650
User jdhardy has commented on the issue:

"<p>Based on what's in the issue I can't really reproduce 
it:</p><p>```<br>&gt;&gt;&gt; import clr<br>&gt;&gt;&gt; from System import 
Enum<br>&gt;&gt;&gt; from System.Net.Sockets import 
SocketOptionName<br>&gt;&gt;&gt; x = 
SocketOptionName.MaxConnections<br>&gt;&gt;&gt; 
int(x)<br>2147483647<br>&gt;&gt;&gt; w = Enum.ToObject(SocketOptionName, 
2147483647)<br>&gt;&gt;&gt; x  == w<br>True<br>```</p><p>I had to force them to 
be different objects (to avoid a trivial `is` match), but it seems to work for 
me.</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