[New-bugs-announce] [issue22548] Bogus parsing of negative zeros in complex literals

Antoine Pitrou report at bugs.python.org
Fri Oct 3 19:24:14 CEST 2014


New submission from Antoine Pitrou:

This may be a parser limitation...

>>> z = -0.-0.j
>>> z
(-0+0j)
>>> z.imag
0.0
>>> z = 0.-0.j
>>> z.imag
0.0

----------
components: Interpreter Core
messages: 228343
nosy: benjamin.peterson, mark.dickinson, pitrou
priority: low
severity: normal
status: open
title: Bogus parsing of negative zeros in complex literals
type: behavior
versions: Python 3.5

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


More information about the New-bugs-announce mailing list