This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author erickt
Recipients erickt
Date 2008-10-22.09:26:45
SpamBayes Score 4.135051e-07
Marked as misclassified No
Message-id <1224667622.54.0.802753290346.issue4170@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2008-10-22 09:27:02ericktsetrecipients: + erickt
2008-10-22 09:27:02ericktsetmessageid: <1224667622.54.0.802753290346.issue4170@psf.upfronthosting.co.za>
2008-10-22 09:26:46ericktlinkissue4170 messages
2008-10-22 09:26:45ericktcreate