[Python-Dev] Is there a reference manual for Python bytecode?

2015年12月26日 14:34:07 -0800

Hi.
Looking at ceval.c and peephole.c, there is - of course - lots of specific hard-coded knowledge of the bytecode (e.g., number of operands and other attributes). I'd like to experiment at this level, but I can't seem to find a reference for the bytecode. Is there the equivalent of something like the ARM ARM(*) for Python bytecode? I can read Python or C code if it's encoded that way, but I'm looking for something that's a bit more immediate than deciphering what an interpreter or optimizer is trying to do (i.e., some sort of table layout or per-opcode set of attributes).
BR,
E.
(*) http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0406c/index.html
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to