Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment:

The warnings at lines 284, 301, 461, 647 are benign. The attached patch fixes 
them.

The others (lines 628, 1320, 1558, 1806) are real issues: pickle will fail when 
given a list, a tuple or a dict larger than INT_MAX, or when the memo is too 
large.

There are other issues in 2.7: pickling a large string fails with a 
SystemError("Negative size passed to PyString_FromStringAndSize")

----------
keywords: +patch
nosy: +amaury.forgeotdarc
Added file: http://bugs.python.org/file18556/pickle_warnings_easy.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9614>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to