]> granicus.if.org Git - python/commit
Issue #11564: Avoid crashes when trying to pickle huge objects or containers
authorAntoine Pitrou <solipsis@pitrou.net>
Mon, 29 Aug 2011 21:09:33 +0000 (23:09 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Mon, 29 Aug 2011 21:09:33 +0000 (23:09 +0200)
commit82be19f889e97618d73f405ad53ceffbee462008
tree7d9dd159ec8bd79151e0afb8dc3d2947cc859f82
parentaa26b275034c07784c4d64e9a2bc26c742577327
Issue #11564: Avoid crashes when trying to pickle huge objects or containers
(more than 2**31 items).  Instead, in most cases, an OverflowError is raised.
Lib/test/pickletester.py
Lib/test/support.py
Lib/test/test_pickle.py
Misc/NEWS
Modules/_pickle.c