[issue19256] Optimize marshal format and add version token.

Kristján Valur Jónsson report at bugs.python.org
Mon Oct 14 13:28:20 CEST 2013


Kristján Valur Jónsson added the comment:

Right, the idea of the version token is to introduce it now, as early as possible, even if it is not needed, for prudence.
For example, if version 5 decides to change the semantics of some of the opcodes, we can then support both kinds, in the future.  Read old files _and_ the new ones.

Despite the fact that we claim that we don't guarantee interoperability, in reality it is very desirable.  During development, for instance. Frozen modules, .pyc files, and all that.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19256>
_______________________________________


More information about the Python-bugs-list mailing list