[issue4170] segfault with defaultdict and pickle
Erick Tryzelaar
report at bugs.python.org
Wed Oct 22 11:27:02 CEST 2008
New submission from Erick Tryzelaar <idadesub at users.sourceforge.net>:
It seems like there's a bug with defaultdict. This is segfaulting with
the latest python 3.0 svn checkout:
import collections, pickle
d=collections.defaultdict(int)
d[1]
pickle.dumps(d)
It errors out with:
Assertion failed: (PyIter_Check(iter)), function PyIter_Next, file
Objects/abstract.c, line 2751.
zsh: abort /tmp/python/bin/python3.0 foo.py
----------
components: Library (Lib)
messages: 75073
nosy: erickt
severity: normal
status: open
title: segfault with defaultdict and pickle
type: crash
versions: Python 3.0
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4170>
_______________________________________
More information about the Python-bugs-list
mailing list