Victor Stinner writes:

 > Using a custom exception handler, you can run expensive functions,
 > like the feature: "suggest len when length is used".

LGTM.

 > The problem is then when students have to use a Python without the
 > custom exception handler.

Put the exception handler in an importable module in the stdlib.

Usual caveats about high bar, etc, but this should solve the "have
Python, no handler" issue going forward.

Steve
_______________________________________________
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