STINNER Victor <vstin...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue42422>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to