]> granicus.if.org Git - python/commit
Issue #5816: Simplify code for parsing and printing of complex numbers.
authorMark Dickinson <dickinsm@gmail.com>
Thu, 23 Apr 2009 19:14:16 +0000 (19:14 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Thu, 23 Apr 2009 19:14:16 +0000 (19:14 +0000)
commitad476dab097c3a0701faf035974c7c1f4b916396
tree4cd97c289085e0224f1e00803391d68b46329a04
parentf16e71d889175a76c711dc2c02a33978e5e7e5f7
Issue #5816: Simplify code for parsing and printing of complex numbers.
nans and infs are no longer given special treatment; as a result,
repr(complex(z)) recovers z for any complex number z.
Lib/test/test_complex.py
Misc/NEWS
Objects/complexobject.c
Python/pystrtod.c