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@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@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@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: https://mail.python.org/mailman/options/python-dev/brett%40python.org