[Ironpython-users] IronPython, Daily Digest 9/28/2014

CodePlex no_reply at codeplex.com
Mon Sep 29 09:22:21 CEST 2014


Hi ironpython,

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

In today's digest:ISSUES

1. [New comment] Telnetlib exception - "getaddrinfo returns an empty list"
2. [New comment] bytearray fails comparison with string value
3. [New comment] ast.literal_eval in IronPython raises exception for negative numbers in expressions
4. [New comment] socket.create_connection() causes exception "getaddrinfo returns an empty list"

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

ISSUES

1. [New comment] Telnetlib exception - "getaddrinfo returns an empty list"
http://ironpython.codeplex.com/workitem/35388
User paweljasinski has commented on the issue:

"<p>This exception is erroneously thrown when connection to all addresses fails. </p>"-----------------

2. [New comment] bytearray fails comparison with string value
http://ironpython.codeplex.com/workitem/35470
User paweljasinski has commented on the issue:

"<p>fixed in 7f4343961781373b4ade5f630b9e8d4ab7733ca3</p>"-----------------

3. [New comment] ast.literal_eval in IronPython raises exception for negative numbers in expressions
http://ironpython.codeplex.com/workitem/35572
User paweljasinski has commented on the issue:

"<p>As a quick workaround you can adopt the following:[0A][0A]```[0A]import ast[0A][0A]class Fix(ast.NodeTransformer):[0A]    def visit_UnaryOp(self, node):[0A]        if isinstance(node.operand, ast.Num):[0A]            if isinstance(node.op, ast.USub):[0A]                node.operand.n=-node.operand.n[0A]                return node.operand[0A]            if isinstance(node.op, ast.UAdd):[0A]                return node.operand[0A]        return node[0A][0A]def literal_eval_fix(string_only):[0A]    tree = ast.parse(string_only, mode="eval" )[0A]    tree = Fix().visit(tree)[0A]    return ast.literal_eval(tree)[0A][0A]print literal_eval_fix("42")[0A]print literal_eval_fix("-42")[0A]print literal_eval_fix("{ -1:-2, 2:'aaaaa'}")[0A]```[0A][0A][0A]</p>"-----------------

4. [New comment] socket.create_connection() causes exception "getaddrinfo returns an empty list"
http://ironpython.codeplex.com/workitem/35576
User paweljasinski has commented on the issue:

"<p>This exception is erroneously thrown when connection to all addresses fails. </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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20140929/827f2dc2/attachment.html>


More information about the Ironpython-users mailing list