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

Ned Batchelder ned at nedbatchelder.com
Sat Dec 26 19:38:00 EST 2015


On 12/26/15 6:13 PM, Erik wrote:
> On 26/12/15 23:10, Joe Jevnik wrote:
>> All arguments are 2 bytes, if there needs to be more, EXTENDED_ARG is 
>> used
>
> OK, got it - many thanks.
One thing to understand that may not be immediately apparent: the byte 
code can (and does) change between versions, so Python 2.7 doesn't have 
the exact same byte code as 3.4, which is also different from 3.5.

--Ned.
>
> E.
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: 
> https://mail.python.org/mailman/options/python-dev/ned%40nedbatchelder.com



More information about the Python-Dev mailing list