[issue4907] ast.literal_eval does not properly handled complex numbers
Armin Ronacher
report at bugs.python.org
Mon Jan 12 23:15:06 CET 2009
Armin Ronacher <armin.ronacher at active-4.com> added the comment:
Here a patch with unittests to correctly handle complex numbers. This
does not allow the user of arbitrary add/sub expressions on complex numbers.
Added file: http://bugs.python.org/file12707/literal-eval.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4907>
_______________________________________
More information about the Python-bugs-list
mailing list