summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2010-01-10 02:56:19 (GMT)
committerBrett Cannon <bcannon@gmail.com>2010-01-10 02:56:19 (GMT)
commit6fdd3dcb6a9998dbe7b707d7a3726733cc03681a (patch)
tree35f061054f51f3beffbde6edc85657dcbbddec97 /Misc
parent3ad57e2625601701b1a98324890095f411965af3 (diff)
downloadcpython-6fdd3dcb6a9998dbe7b707d7a3726733cc03681a.zip
cpython-6fdd3dcb6a9998dbe7b707d7a3726733cc03681a.tar.gz
cpython-6fdd3dcb6a9998dbe7b707d7a3726733cc03681a.tar.bz2
DeprecationWarning is now silent by default.
This was originally suggested by Guido, discussed on the stdlib-sig mailing list, and given the OK by Guido directly to me. What this change essentially means is that Python has taken a policy of silencing warnings that are only of interest to developers by default. This should prevent users from seeing warnings which are triggered by an application being run against a new interpreter before the app developer has a chance to update their code. Closes issue #7319. Thanks to Antoine Pitrou, Ezio Melotti, and Brian Curtin for helping with the issue.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index c0f23b5..979ac8b 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,8 @@ What's New in Python 2.7 alpha 3?
Core and Builtins
-----------------
+- Issue #7319: Silence DeprecationWarning by default.
+
- Issue #2335: Backport set literals syntax from Python 3.x.
Library