[issue27363] Complex with negative zero imaginary part

Vedran Čačić report at bugs.python.org
Wed Jun 29 04:51:47 EDT 2016


Vedran Čačić added the comment:

And of course, the most important argument that preserving type(x)(repr(x))==x is futile: try it with x=False. (Yes, bools are numbers too.:)

On the other hand, of course, literal_eval treats 'False' completely fine.

----------

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


More information about the Python-bugs-list mailing list