[Python-Dev] Is there a reference manual for Python bytecode?
Joe Jevnik
jjevnik at quantopian.com
Sat Dec 26 18:10:41 EST 2015
More information about the Python-Dev mailing list
Sat Dec 26 18:10:41 EST 2015
- Previous message (by thread): [Python-Dev] Is there a reference manual for Python bytecode?
- Next message (by thread): [Python-Dev] Is there a reference manual for Python bytecode?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
All arguments are 2 bytes, if there needs to be more, EXTENDED_ARG is used On Sat, Dec 26, 2015 at 5:51 PM, Erik <python at lucidity.plus.com> wrote: > Hi Joe, > > On 26/12/15 22:36, Joe Jevnik wrote: > >> The number and meaning of the arguments are documented in the dis >> module: https://docs.python.org/3.6/library/dis.html >> > > OK - I *did* find that, but perhaps didn't immediately understand what it > was telling me. > > So, something documented as "OP_CODE" is a 1-byte op, something documented > as "OP_CODE(foo)" is a 2-byte op - and unless I missed one, there are no > 3-byte ops? > > Thanks, > E. > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20151226/a3fa5381/attachment.html>
- Previous message (by thread): [Python-Dev] Is there a reference manual for Python bytecode?
- Next message (by thread): [Python-Dev] Is there a reference manual for Python bytecode?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list