[issue4907] ast.literal_eval does not properly handled complex numbers
Raymond Hettinger
report at bugs.python.org
Fri Oct 8 02:52:58 CEST 2010
Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:
Fixed handling on unary minus in r85314. In so doing, it also liberalized what literal_eval() accepts (3j+4 for example). This simplified the implementation and removed an unnecessary restriction which wasn't needed for "safety".
----------
nosy: +rhettinger
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4907>
_______________________________________
More information about the Python-bugs-list
mailing list