summaryrefslogtreecommitdiff
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-06-27 00:52:15 +0000
committerBrett Cannon <bcannon@gmail.com>2008-06-27 00:52:15 +0000
commita3a01bc440084a14b00e23bc6f7c679c3cf3cf42 (patch)
treeaac6c6d7f54343d197c553f75dd5f5c86b1fca5a /Misc
parentd562e82566297defe0b7cebf98760ad68c67e83e (diff)
downloadcpython-a3a01bc440084a14b00e23bc6f7c679c3cf3cf42.tar.gz
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 0656041f8a..0ba9a9c001 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.