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 cyhawk
Recipients cyhawk
Date 2008-03-25.13:44:44
SpamBayes Score 0.05599113
Marked as misclassified No
Message-id <1206452686.51.0.217993005172.issue2480@psf.upfronthosting.co.za>
In-reply-to
Content
In the attached demo I create a graph of 250 nodes, all of which are
connected to every other node, and this is represented by a set
attribute of the Node objects.

When I try to pickle this graph, it fails in various ways. In regular
pickle it is always a "maximum recursion depth exceeded" error. In
cPickle it is either a KeyError or a silent termination of the process.
(As tested on Windows XP 32 bits.) It depends on the size of the graph.
For smaller graphs (say 100 nodes) it works fine.

If connections are described using a dictionary or even a list, I get
the same errors.
History
Date User Action Args
2008-03-25 13:44:46cyhawksetspambayes_score: 0.0559911 -> 0.05599113
recipients: + cyhawk
2008-03-25 13:44:46cyhawksetspambayes_score: 0.0559911 -> 0.0559911
messageid: <1206452686.51.0.217993005172.issue2480@psf.upfronthosting.co.za>
2008-03-25 13:44:45cyhawklinkissue2480 messages
2008-03-25 13:44:44cyhawkcreate