[issue2291] Raise a Py3K warning for catching non-BaseException exceptions

Alexander Belopolsky report at bugs.python.org
Tue Mar 18 04:18:13 CET 2008


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

On Mon, Mar 17, 2008 at 11:00 PM, Guido van Rossum
<report at bugs.python.org> wrote:
> We still need patches to issue -3 warnings for:
>  - __getitem__ or __getslice__ on exception instances
>

I've opened a separate issue for this (see issue2379).  I believe this
issue can now be closed.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2291>
__________________________________


More information about the Python-bugs-list mailing list