Paul Pogonyshev added the comment: I think it would be better not to hardcode specific 2 exceptional cases and indeed follow that second way of instanceof(..., Exception). I think it was introduced exactly to separate "things that can be caught by default" from "things that may be caught only in very special cases". I don't find it good Python interpreter not following its own rules.
---------- nosy: +_doublep __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2196> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com