summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-06-27 00:52:15 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-06-27 00:52:15 (GMT)
commitdb7349128faa564954554da95ce7bfb8802ff31f (patch)
tree5dbf92d7a143b344b364de942984462cc2b66ecb /Misc
parent429ef650b749efcade39b5f65862f546610a8191 (diff)
downloadcpython-db7349128faa564954554da95ce7bfb8802ff31f.zip
cpython-db7349128faa564954554da95ce7bfb8802ff31f.tar.gz
cpython-db7349128faa564954554da95ce7bfb8802ff31f.tar.bz2
Merged revisions 64549 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r64549 | brett.cannon | 2008-06-26 17:31:13 -0700 (Thu, 26 Jun 2008) | 7 lines warnings.warn_explicit() did not have the proper TypeErrors in place to prevent bus errors or SystemError being raised. As a side effect of fixing this, a bad DECREF that could be triggered when 'message' and 'category' were both None was fixed. Closes issue 3211. Thanks JP Calderone for the bug report. ........
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 0656041..0ba9a9c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -27,6 +27,11 @@ What's new in Python 3.0b1?
Core and Builtins
-----------------
+- Issue #3211: warnings.warn_explicit() did not guard against its 'registry'
+ argument being anything other than a dict or None. Also fixed a bug in error
+ handling when 'message' and 'category' were both set to None, triggering a
+ bus error.
+
- Issue #3100: Corrected a crash on deallocation of a subclassed weakref which
holds the last (strong) reference to its referent.