[issue2506] Add mechanism to disable optimizations

Mark Shannon report at bugs.python.org
Wed Jan 13 10:54:30 EST 2021


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

In general, it is hard to define what is an optimization, and what is part of the compiler.

The original request was to disable optimizations that changed observable behavior w.r.t. line numbers.

All optimizations now respect line numbers, so proposed mechanism would be pointless.

----------
resolution:  -> rejected
stage: patch review -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list