Steve D'Aprano <[email protected]> writes: > What's the right/best way to test whether an object is an exception > ahead of time? (That is, without trying to raise from it.)
Maybe I'm missing something but isinstance(obj, Exception) seems to work. -- https://mail.python.org/mailman/listinfo/python-list
