summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-10-30 20:58:42 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-10-30 20:58:42 (GMT)
commitf43ee81ef211d9c79f8bbaa3ab369d387c2dfeb6 (patch)
treec8b3b606b8b14db6d8e10d9ef76751703b58ae87 /Misc
parent73b90a8d61898ccde2c083a6e51af6624ec52fc3 (diff)
downloadcpython-f43ee81ef211d9c79f8bbaa3ab369d387c2dfeb6.zip
cpython-f43ee81ef211d9c79f8bbaa3ab369d387c2dfeb6.tar.gz
cpython-f43ee81ef211d9c79f8bbaa3ab369d387c2dfeb6.tar.bz2
#4170: Fix segfault when pickling a defauldict object.
The 2.x dict.iteritems() returns an iterator, whereas the 3.0 dict.items() returns a "view", which is iterable, but not an iterator with its __next__ method. Patch by Hirokazu Yamamoto.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 5b5a125..a557b52 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -15,6 +15,9 @@ What's New in Python 3.0 beta 5
Core and Builtins
-----------------
+- Issue #4170: Pickling a collections.defaultdict object would crash the
+ interpreter.
+
- Issue #4146: Compilation on OpenBSD has been restored.
- Issue #3574: compile() incorrectly handled source code encoded as Latin-1.