[issue42422] types.CodeType() has no bytecode verifier

STINNER Victor report at bugs.python.org
Tue Dec 8 02:53:15 EST 2020


STINNER Victor <vstinner at python.org> added the comment:

Compiled bytecode is not portable between Python versions. You may use https://bytecode.readthedocs.io/ which might help to write more portable code, but this project does not contain a bytecode verifier and I'm not sure that it's updated when the Python bytecode becomes backward incompatible. (I wrote the first version as a Proof-of-Concept of my PEP 511, but I no longer maintain it.)

----------
title: Py_Decref on value crash the interpreter in Python/ceval.c:1104 -> types.CodeType() has no bytecode verifier

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42422>
_______________________________________


More information about the Python-bugs-list mailing list