[issue19780] Pickle 4 frame headers optimization
Antoine Pitrou
report at bugs.python.org
Tue Nov 26 16:09:01 CET 2013
Antoine Pitrou added the comment:
> > This is not compliant with how the PEP defines it (the frame size doesn't
> > include the header of the next frame):
> > http://www.python.org/dev/peps/pep-3154/#framing
>
> "How the pickler decides to partition the pickle stream into frames is an
> implementation detail."
Of course, but it still has to respect the frame structure shown in the
ASCII art drawing.
> Could you write tests which exposes behavior difference without sticking
> implementation details?
That's a good idea. At least I'll open an issue for it.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19780>
_______________________________________
More information about the Python-bugs-list
mailing list