A while back, in working on a cross-version python decompiler, I used
PyPy's lib_pypy/_marshal.py.


Recently in doing work in writing a cross-platform a Python bytecode
assember, I noticed what is in the py3.5 branch is a bit out of date for
Python 3.

Specifically these types:

TYPE_REF             = 'r'  # Since 3.4
TYPE_ASCII           = 'a'  # since 3.4
TYPE_ASCII_INTERNED  = 'A'  # since 3.4
TYPE_SMALL_TUPLE     =  ')' # since 3.4
TYPE_SHORT_ASCII     = 'z'  # since 3.4
TYPE_SHORT_ASCII_INTERNED = 'Z' # since 3.4

In xdis, the cross-version marshal/unmarshal and opcode routines, I've
started adding some of these.

Is lib_pypy/_marshal.py used? If so, shouldn't this be corrected?
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to