[issue32838] Fix Python versions in the table of magic numbers

Serhiy Storchaka report at bugs.python.org
Wed Feb 14 02:05:54 EST 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

I think it is useful to have such table somewhere. It give the impression about the history of bytecode and pyc format. There are third-party projects that try to support Python bytecode of different versions, they need such table. There is a simplified version of this table in PC/launcher.c, it is needed for suggesting the Python version by the magic number. And this table is just interesting for Python developers, especially if they made the change in the bytecode.

----------

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


More information about the Python-bugs-list mailing list