summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <mdickinson@enthought.com>2017-02-20 21:50:49 (GMT)
committerGitHub <noreply@github.com>2017-02-20 21:50:49 (GMT)
commit0936a00fe035e3e52c30bcbc59668dc0f519ced6 (patch)
tree4ccef2a5409955b697d53eb858646ca20cda3507 /Misc
parent66fa9d4205e0da672ed19a397069281a4b177af4 (diff)
downloadcpython-0936a00fe035e3e52c30bcbc59668dc0f519ced6.zip
cpython-0936a00fe035e3e52c30bcbc59668dc0f519ced6.tar.gz
cpython-0936a00fe035e3e52c30bcbc59668dc0f519ced6.tar.bz2
bpo-29602: fix signed zero handling in complex constructor. (#203) (#205)
* Fix incorrect handling of signed zeros for complex-related classes. * Add Misc/NEWS entry. (cherry picked from commit 112ec38c15b388fe025ccb85369a584d218b1160)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 52c87d8..0382337 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,10 @@ Release date: XXXX-XX-XX
Core and Builtins
-----------------
+- bpo-29602: Fix incorrect handling of signed zeros in complex constructor for
+ complex subclasses and for inputs having a __complex__ method. Patch
+ by Serhiy Storchaka.
+
- bpo-29347: Fixed possibly dereferencing undefined pointers
when creating weakref objects.