[Python-ideas] exception instantiation philosophy and practice [was: Let try-except check the exception instance]

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Jun 1 18:41:27 EDT 2018

Eric Fahlgren wrote:
> I don't think it's possible to avoid instantiating the exception at the 
> user level, what would sys.exc_info() do about it's second return value?

The exception could be instantiated if and when sys.exc_info() gets called.


More information about the Python-ideas mailing list