Hi ironpython,
Here's your Daily Digest of new issues for project "IronPython".
In today's digest:ISSUES
1. [New comment] Using reference to unicode function on unicode string
containing non-ASCII characters throws UnicodeDecodeError
2. [New issue] nt.kill(pid, sig) ignores sig argument
----------------------------------------------
ISSUES
1. [New comment] Using reference to unicode function on unicode string
containing non-ASCII characters throws UnicodeDecodeError
http://ironpython.codeplex.com/workitem/29505
User pacrook has commented on the issue:
"<p>I hit the same issue trying to use unicode with map. The following works in
Python 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit
(AMD64)]</p><p>> \>\>\> print '\t'.join(map(unicode, [u'\xe5',
1.0]))<br>å 1.0</p><p>but in IronPython 2.7.4 (2.7.0.40) on .NET
4.0.30319.34003 (64-bit)<br>> \>\>\> print '\t'.join(map(unicode,
[u'\xe5', 1.0]))<br>Traceback (most recent call last):<br> File
"<stdin>", line 1, in <module><br>UnicodeDecodeError:
('unknown', u'\xe5', 0, 1, '')</p><p>the problem arises from the map(unicode,
...) call, e.g.<br>> \>\>\> print map(unicode, [u'\xe5',
1.0])<br>Traceback (most recent call last):<br> File
"<stdin>", line 1, in <module><br>UnicodeDecodeError:
('unknown', u'\xe5', 0, 1, '')</p><p>introducing a labda reference as suggested
above fixes the Iron Python version of the code:<br>> \>\>\> print
'\t'.join(map(lambda x:unicode(x), [u'\xe5', 1.0]))<br>å 1.0
</p><p></p>"-----------------
2. [New issue] nt.kill(pid, sig) ignores sig argument
http://ironpython.codeplex.com/workitem/34928
User paweljasinski has proposed the issue:
"nt.kill ignores sig arguments and performs unconditional Terminate
It should distinguish CTRL_C_EVENT, CTRL_BREAK_EVENT and try to use
GenerateConsoleCtrlEvent
This of course on Windows only, mono on linux can use posix signals."
----------------------------------------------
----------------------------------------------
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