[Python-Dev] Is there a reference manual for Python bytecode?
Brett Cannon
brett at python.org
Sat Dec 26 20:06:57 EST 2015
Ned also neglected to mention his byterun project which is a pure Python
implementation of the CPython eval loop: https://github.com/nedbat/byterun
On Sat, 26 Dec 2015, 16:38 Ned Batchelder <ned at nedbatchelder.com> wrote:
> 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
>
> _______________________________________________
> 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/brett%40python.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20151227/59d41adb/attachment.html>
More information about the Python-Dev
mailing list