On 12/24/2016 11:42 AM, Neil Girdhar wrote:
Usually, when an exception is hit that will (probably) crash the
program, no one cares about less than a microsecond of performance.
I would probably agree with you in the SyntaxError example, but not for
the others. Programming with exceptions is totally standard in Python
and they are often used in tight loops. See here:
https://docs.python.org/3/glossary.html#term-eafp
https://docs.python.org/3/glossary.html#term-lbyl
So keeping exceptions fast is definitely important.
Cheers,
Thomas
_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/