On 05/31/2018 07:36 AM, Nick Coghlan wrote:

The exception machinery deliberately attempts to avoid instantiating exception 
objects whenever it can, but that gets
significantly more difficult if we always need to create the instance before we 
can decide whether or not the raised
exception matches the given exception handler criteria.

Why is this?  Doesn't the exception have to be instantiated at some point, even 
if just to print to stderr?

--
~Ethan~

_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to