[Python-Dev] Wordcode v2

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Feb 15 02:20:05 EST 2016


Guido van Rossum wrote:
> An unfortunate issue however is that many projects seem to make a
> hobby of hacking bytecode. All those projects would have to be totally
> rewritten in order to support the new wordcode format

Maybe this argues for having an assembly-language-like
intermediate form between the AST and the actual code
used by the interpreter? Done properly it could make
things easier for bytecode-hacking projects as well as
providing some insulation from implementation details.

-- 
Greg


More information about the Python-Dev mailing list