[Python-ideas] `issubclass` shouldn't be raising exceptions for non-type inputs

Bill Janssen janssen at parc.com
Mon Nov 29 18:35:55 CET 2010

Steven D'Aprano <steve at pearwood.info> wrote:

> since at least Python 1.5. It's been long considered "best practice"
> under many circumstances to catch exceptions rather than to try to
> preemptively guess what might go wrong.

You're kidding, right?  *Programming* is about preemptively guessing
what might go wrong :-).


More information about the Python-ideas mailing list