]> granicus.if.org Git - python/commit
Merged revisions 64549 via svnmerge from
authorBrett Cannon <bcannon@gmail.com>
Fri, 27 Jun 2008 00:52:15 +0000 (00:52 +0000)
committerBrett Cannon <bcannon@gmail.com>
Fri, 27 Jun 2008 00:52:15 +0000 (00:52 +0000)
commitdb7349128faa564954554da95ce7bfb8802ff31f
tree5dbf92d7a143b344b364de942984462cc2b66ecb
parent429ef650b749efcade39b5f65862f546610a8191
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.
........
Lib/test/test_warnings.py
Lib/warnings.py
Misc/NEWS
Python/_warnings.c