[issue2291] Raise a Py3K warning for catching non-BaseException exceptions
Alexander Belopolsky
report at bugs.python.org
Mon Mar 17 22:25:10 CET 2008
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
I am commenting on issue2371 patch here, so that I does not get lost in
a non-showstopper issue. Taek, please reattach your patch here when you
get a chance.
With the additional -3 logic, code duplication between tuple and
non-tuple case becomes unbearable. I suggest separating both string and
subclass checks in a separate function.
----------
nosy: +taicki
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2291>
__________________________________
More information about the Python-bugs-list
mailing list