On Wed, Jun 08, 2022 at 06:51:54AM -0500, James Johnson wrote: > When an amateur develops code incorrectly, s/he sometimes ends up with a > code object that doesn’t run because of intermediate compiler optimizations.
If that happens, that's a bug in the compiler. Optimizations should never change the meaning of code. If you have an example of this, where the compiler optimization changes the meaning of Python code beyond what is documented, please raise a bug report for it. But I doubt you will find any, because Python performs very, very few optimizations of the sort you are referring to. -- Steve _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/RRLF5OJFKYIO6WFCZS3RFMZDNIBPBI3P/ Code of Conduct: http://python.org/psf/codeofconduct/