diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-10-30 21:18:34 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-10-30 21:18:34 (GMT) |
commit | 69a9c5b539dd848369efcd67574e447065f638e9 (patch) | |
tree | 8c1ad2e3831296822c6367a50e57e68a188edbc5 /Misc | |
parent | 1fac5a450562c50a3b7121598da7f010a306e50f (diff) | |
download | cpython-69a9c5b539dd848369efcd67574e447065f638e9.zip cpython-69a9c5b539dd848369efcd67574e447065f638e9.tar.gz cpython-69a9c5b539dd848369efcd67574e447065f638e9.tar.bz2 |
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)
A list is not an iterator...
Will backport to 2.6 and 2.5.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -12,6 +12,9 @@ What's New in Python 2.7 alpha 1 Core and Builtins ----------------- +- Issue #4176: Fixed a crash when pickling an object which ``__reduce__`` + method does not return iterators for the 4th and 5th items. + - Issue #4209: Enabling unicode_literals and the print_function in the same __future__ import didn't work. |