The number and meaning of the arguments are documented in the dis module: https://docs.python.org/3.6/library/dis.html
On Sat, Dec 26, 2015 at 5:20 PM, Erik <pyt...@lucidity.plus.com> wrote: > 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 > Python-Dev@python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > https://mail.python.org/mailman/options/python-dev/joe%40quantopian.com >
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com