diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-04-23 19:14:16 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-04-23 19:14:16 (GMT) |
commit | ad476dab097c3a0701faf035974c7c1f4b916396 (patch) | |
tree | 4cd97c289085e0224f1e00803391d68b46329a04 /Misc | |
parent | f16e71d889175a76c711dc2c02a33978e5e7e5f7 (diff) | |
download | cpython-ad476dab097c3a0701faf035974c7c1f4b916396.zip cpython-ad476dab097c3a0701faf035974c7c1f4b916396.tar.gz cpython-ad476dab097c3a0701faf035974c7c1f4b916396.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -12,6 +12,9 @@ What's New in Python 3.1 beta 1? Core and Builtins ----------------- +- Issue #5816: complex(repr(z)) now recovers z exactly, even when + z involves nans, infs or negative zeros. + - Issue #3166: Make long -> float (and int -> float) conversions correctly rounded. |