[issue9011] ast_for_factor unary minus optimization changes AST

Antonio Cuni report at bugs.python.org
Thu Oct 18 14:02:18 CEST 2012


Antonio Cuni added the comment:

there is still an inconsistency in handling negative imaginary literals:

>>> -1j.real
-0.0
>>> complex('-1j').real
0.0

----------
nosy: +antocuni

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9011>
_______________________________________


More information about the Python-bugs-list mailing list