[issue19256] Optimize marshal format and add version token.

STINNER Victor report at bugs.python.org
Mon Oct 14 00:42:37 CEST 2013


STINNER Victor added the comment:

Good idea to add a version. But it should not be a token, but a mandatory header at the beginning. For example, 16 unsigned bits at the beginning.

Many file formats use a "magic" key, like "MZ" for Windows executable or "GIF" for GIF pictures. What do you think of adding such magic string (if it does not exist yet, I don't know the marshal format... is it documented somewhere?).

----------

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


More information about the Python-bugs-list mailing list