[issue12848] pickle.py treats 32bit lengths as signed, but _pickle.c as unsigned

Serhiy Storchaka report at bugs.python.org
Fri Nov 16 22:23:59 CET 2012


Serhiy Storchaka added the comment:

Here is a patch for 3.x. It unify behavior of Python and C implementations and unify behavior on 32- and 64-bit platforms.  For backward compatibility Pickler can pickle up to 2G data, but Unpickler can unpickle up to 4G on 64-bit.

----------
keywords: +patch
stage:  -> patch review
Added file: http://bugs.python.org/file28005/pickle_portable_size.patch

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


More information about the Python-bugs-list mailing list