diff options
author | Brett Cannon <bcannon@gmail.com> | 2006-02-27 23:39:10 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2006-02-27 23:39:10 (GMT) |
commit | a7446e3438194e8abdfe75c2667b03a219e22a0b (patch) | |
tree | 62978fa7a60c62bbfa21c40c8b7181956d84c95d /Misc/NEWS | |
parent | a7444f47b21ac75cd6e4bb06b615b39cd7876fa2 (diff) | |
download | cpython-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/NEWS')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |