From 327380cf9125dc897c48417280a9779a263bb118 Mon Sep 17 00:00:00 2001 From: Amaury Forgeot d'Arc Date: Thu, 30 Oct 2008 21:40:05 +0000 Subject: 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. --- Misc/NEWS | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Misc') diff --git a/Misc/NEWS b/Misc/NEWS index e62bb7cf6b..6e8a25ad60 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -12,6 +12,9 @@ What's New in Python 2.5.3? 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 #3967: Fixed a crash in the count() and find() methods of string-like objects, when the "start" parameter is a huge value. -- cgit v1.2.1