]> granicus.if.org Git - python/commit
'warning's was improperly requiring that a command-line Warning category be
authorBrett Cannon <bcannon@gmail.com>
Thu, 22 Jun 2006 16:49:14 +0000 (16:49 +0000)
committerBrett Cannon <bcannon@gmail.com>
Thu, 22 Jun 2006 16:49:14 +0000 (16:49 +0000)
commit53ab5b761d9e6e0f8b06c328508bafdb9a6a25ac
tree721af8f962a8991f6924e6834c31f2d3c3ba2756
parent56b76c8a65aafc77cbeeb326450186de1898df7f
'warning's was improperly requiring that a command-line Warning category be
both a subclass of Warning and a subclass of types.ClassType.  The latter is no
longer true thanks to new-style exceptions.

Closes bug #1510580.  Thanks to AMK for the test.
Lib/test/test_warnings.py
Lib/warnings.py
Misc/NEWS