diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-06-27 00:52:15 +0000 |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-06-27 00:52:15 +0000 |
commit | a3a01bc440084a14b00e23bc6f7c679c3cf3cf42 (patch) | |
tree | aac6c6d7f54343d197c553f75dd5f5c86b1fca5a /Misc | |
parent | d562e82566297defe0b7cebf98760ad68c67e83e (diff) | |
download | cpython-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/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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. |