This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients belopolsky, brett.cannon, nnorwitz, taicki, zotbar1234
Date 2008-03-17.21:40:13
SpamBayes Score 0.34495607
Marked as misclassified No
Message-id <1205790014.9.0.391001400275.issue2291@psf.upfronthosting.co.za>
In-reply-to
Content
There is also a subtle bug in the issue2371 patch:
$ cat x.py
try:
    raise ValueError
except ((ValueError,),):
    pass

$ ./python -3 x.py
x.py:3: DeprecationWarning: catching classes that do not inherit from
BaseException is not allowed in 3.x.
  except ((ValueError,),):

I am not sure if it would be acceptable to move warnings to
PyErr_GivenExceptionMatches, but if not, the checking logic should
reproduce PyErr_GivenExceptionMatches' recursive behavior.
History
Date User Action Args
2008-03-17 21:40:15belopolskysetspambayes_score: 0.344956 -> 0.34495607
recipients: + belopolsky, nnorwitz, brett.cannon, zotbar1234, taicki
2008-03-17 21:40:14belopolskysetspambayes_score: 0.344956 -> 0.344956
messageid: <1205790014.9.0.391001400275.issue2291@psf.upfronthosting.co.za>
2008-03-17 21:40:14belopolskylinkissue2291 messages
2008-03-17 21:40:13belopolskycreate