diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-10-30 20:58:42 +0000 |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-10-30 20:58:42 +0000 |
commit | d07d0614b96abd2a3eb661ef516a22a504059193 (patch) | |
tree | 73ae1330b39e79b6829c5c4f2aa8ef35e9d6e330 /Python/pythonrun.c | |
parent | baf87a16d54153fa75d1a9ed068d7dafe53d196d (diff) | |
download | cpython-d07d0614b96abd2a3eb661ef516a22a504059193.tar.gz |
#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 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions