summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2006-02-27 23:39:10 (GMT)
committerBrett Cannon <bcannon@gmail.com>2006-02-27 23:39:10 (GMT)
commita7446e3438194e8abdfe75c2667b03a219e22a0b (patch)
tree62978fa7a60c62bbfa21c40c8b7181956d84c95d /Misc
parenta7444f47b21ac75cd6e4bb06b615b39cd7876fa2 (diff)
downloadcpython-a7446e3438194e8abdfe75c2667b03a219e22a0b.zip
cpython-a7446e3438194e8abdfe75c2667b03a219e22a0b.tar.gz
cpython-a7446e3438194e8abdfe75c2667b03a219e22a0b.tar.bz2
Check the return code for PyErr_Warn() when warning about raising string
exceptions. This was triggered when 'warnings' had a filter set to "error" that caught the string exception deprecation warning.
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 4e16038..3ad50b5 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,10 @@ What's New in Python 2.5 alpha 1?
Core and builtins
-----------------
+- Properly check if 'warnings' raises an exception (usually when a filter set
+ to "error" is triggered) when raising a warning for raising string
+ exceptions.
+
- CO_GENERATOR_ALLOWED is no longer defined, this behavior is the default.
The name was removed from Include/code.h.