]> granicus.if.org Git - python/commit
Issue #4176: Pickle would crash the interpreter when a __reduce__ function
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 30 Oct 2008 21:40:05 +0000 (21:40 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 30 Oct 2008 21:40:05 +0000 (21:40 +0000)
commit3b335ff3402b1263e3fbf50ef6ba6e8cf2de1624
tree462aabe08d76fde7102cd80b9c2fa0259e5121d4
parent3e06faec4fa7e6afc266ca83ebd5444b1ddbc04a
Issue #4176: Pickle would crash the interpreter when a __reduce__ function
does not return an iterator for the 4th and 5th items.
(sequence-like and mapping-like state)

Backport of r67049.
Lib/test/pickletester.py
Misc/NEWS
Modules/cPickle.c