Antoine Pitrou 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.
I agree the right tradeoff is not easy to find, but I don't think we should
introduce a regression in _pickle.c just for the sake of making it more
consistent with pickle.py's bugs. So _pickle.c behaviour should probably be
preserved, and pickle.py should be improved to accept unpickling 4G pickles.
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list