[issue26647] ceval: use Wordcode, 16-bit bytecode

Demur Rumed report at bugs.python.org
Sun May 22 12:43:29 EDT 2016


Demur Rumed added the comment:

I've tracked down the lnotab issue after modifying master/wpy to not vacuum NOPs. Old code puts LOAD_CONST at after NOPs, on the same line as return op, whereas new code is putting LOAD_CONST before NOPs, on it's own line

I've attached a fix along with addressing compiler warnings & __phello__ & adding some asserts that make sure we aren't passing indices that point inside instructions to peephole's helper functions

----------
Added file: http://bugs.python.org/file42946/wpyA.patch

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


More information about the Python-bugs-list mailing list