<p dir="ltr">Ned also neglected to mention his byterun project which is a pure Python implementation of the CPython eval loop: <a href="https://github.com/nedbat/byterun">https://github.com/nedbat/byterun</a></p>
<br><div class="gmail_quote"><div dir="ltr">On Sat, 26 Dec 2015, 16:38 Ned Batchelder <<a href="mailto:ned@nedbatchelder.com">ned@nedbatchelder.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 12/26/15 6:13 PM, Erik wrote:<br>
> On 26/12/15 23:10, Joe Jevnik wrote:<br>
>> All arguments are 2 bytes, if there needs to be more, EXTENDED_ARG is<br>
>> used<br>
><br>
> OK, got it - many thanks.<br>
One thing to understand that may not be immediately apparent: the byte<br>
code can (and does) change between versions, so Python 2.7 doesn't have<br>
the exact same byte code as 3.4, which is also different from 3.5.<br>
<br>
--Ned.<br>
><br>
> E.<br>
> _______________________________________________<br>
> Python-Dev mailing list<br>
> <a href="mailto:Python-Dev@python.org" target="_blank">Python-Dev@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
> Unsubscribe:<br>
> <a href="https://mail.python.org/mailman/options/python-dev/ned%40nedbatchelder.com" rel="noreferrer" target="_blank">https://mail.python.org/mailman/options/python-dev/ned%40nedbatchelder.com</a><br>
<br>
_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org" target="_blank">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/brett%40python.org" rel="noreferrer" target="_blank">https://mail.python.org/mailman/options/python-dev/brett%40python.org</a><br>
</blockquote></div>