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=&quot;eval&quot; )[0A]    tree = Fix().visit(tree)[0A]    return 
ast.literal_eval(tree)[0A][0A]print literal_eval_fix(&quot;42&quot;)[0A]print 
literal_eval_fix(&quot;-42&quot;)[0A]print literal_eval_fix(&quot;{ -1:-2, 
2:'aaaaa'}&quot;)[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.
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
https://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to