[issue2506] Add mechanism to disable optimizations

Mark Shannon report at bugs.python.org
Tue Dec 22 16:15:24 EST 2020


Mark Shannon <mark at hotpy.org> added the comment:

I think this can finally be closed.
A mere 12 years after it was opened :)

PEP 626 specifies what the correct behavior is, regardless of whether optimizations are turned on or off, so there is no point in a no-optimize option.
The compiler is fast enough that it is never worth turning off, even for iterate development.

If the bytecode optimizer produces incorrect or inefficient code for a particular example, please file a bug report for that case, and assign me.

----------
nosy: +Mark.Shannon

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue2506>
_______________________________________


More information about the Python-bugs-list mailing list