[issue26107] PEP 511: code.co_lnotab: use signed line number delta to support moving instructions in an optimizer

Brett Cannon report at bugs.python.org
Mon Jan 18 12:01:20 EST 2016


Brett Cannon added the comment:

I just wanted to comment on "don't change importlib MAGIC: we only change it between Python minor versions": that's actually not true. Feel free to up the number whenever you make a change that affects eval.c or bytecode. Otherwise .pyc files won't be regenerated. And that number is cheap anyway and isn't about to run out, so don't worry about updating it multiple times before the code sees a public release.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26107>
_______________________________________


More information about the Python-bugs-list mailing list