]> 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:29:12 +0000 (21:29 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 30 Oct 2008 21:29:12 +0000 (21:29 +0000)
commitc353ea795c6850d85e29849e763e83382df4e3e2
treecf78386b748e54b9379f5e1a7e9db99dc49bae19
parent68daeb0f8575bd4acb7c7b0e2d0bfee4c6c961b2
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