summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-04-23 19:14:16 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-04-23 19:14:16 (GMT)
commitad476dab097c3a0701faf035974c7c1f4b916396 (patch)
tree4cd97c289085e0224f1e00803391d68b46329a04 /Misc
parentf16e71d889175a76c711dc2c02a33978e5e7e5f7 (diff)
downloadcpython-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/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index c69672f0..f4ffbb7 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.