summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2010-01-14 20:00:28 (GMT)
committerBrett Cannon <bcannon@gmail.com>2010-01-14 20:00:28 (GMT)
commit3ffa43db4892d3a836c63911c5a13a8be5670fa5 (patch)
tree5b28b121ee874b1a7341b0cf50fdcec777919e7b /Misc
parentefdddd3370fc646836b6113247159846734fc129 (diff)
downloadcpython-3ffa43db4892d3a836c63911c5a13a8be5670fa5.zip
cpython-3ffa43db4892d3a836c63911c5a13a8be5670fa5.tar.gz
cpython-3ffa43db4892d3a836c63911c5a13a8be5670fa5.tar.bz2
The silencing of DeprecationWarning was not taking -3 into consideration. Since
Py3K warnings are DeprecationWarning by default this was causing -3 to essentially be a no-op. Now DeprecationWarning is only silenced if -3 is not used. Closes issue #7700. Thanks Ezio Melotti and Florent Xicluna for patch help.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 2 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 2f90b5e..16f1cdb 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -21,7 +21,8 @@ Core and Builtins
values. Also fix a number of bugs in dtoa.c that could lead to
incorrectly rounded results when converting strings to floats.
-- Issue #7319: Silence DeprecationWarning by default.
+- Issue #7319, #7770: Silence DeprecationWarning by default when -3 is not
+ used.
- Issue #2335: Backport set literals syntax from Python 3.x.