Hi ironpython,

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

In today's digest:ISSUES

1. [New issue] ast.literal_eval in IronPython raises exception for negative 
numbers in expressions

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

ISSUES

1. [New issue] ast.literal_eval in IronPython raises exception for negative 
numbers in expressions
http://ironpython.codeplex.com/workitem/35572
User s3e3 has proposed the issue:

"Interactive session in CPython 2.7.5 and 3.4.0:
>>> import ast
>>> ast.literal_eval('-1')
-1

Interactive session in IronPython 2.7.3 and 2.7.5beta2:
>>> import ast
>>> ast.literal_eval('-1')
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Program Files (x86)\IronPython 2.7\Lib\ast.py", line 80, in 
literal_eval
    return _convert(node_or_string)
  File "C:\Program Files (x86)\IronPython 2.7\Lib\ast.py", line 79, in _convert
    raise ValueError('malformed string')
ValueError: malformed string

I came accross this issue while trying to use IronPython and jenkinsapi python 
package for access to our Jenkins instance. One of parameters in return 
expression string from Jenkins job had negative number which caused exception, 
which is obviously not expected to happen."
----------------------------------------------



----------------------------------------------
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