[issue10700] python pickle.dumps AssertionError

2010-12-14 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: It turns out that dict-graph.py does not work with python2.x, but that is a different problem, so I opened a separate issue for it. See issue10701. -- ___ Python tracker _

[issue10700] python pickle.dumps AssertionError

2010-12-14 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Added file: http://bugs.python.org/file20037/dict-graph.py ___ Python tracker ___ ___ Python-bugs-list maili

[issue10700] python pickle.dumps AssertionError

2010-12-14 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: This is a known problem. See issues #1062277 and #9269. You can work around the issue by using a dict. I am attaching two test files. First, set-graph.py, reproduces the issue in 3.x and the second, dict-graph.py, contains a workaround. -- re

[issue10700] python pickle.dumps AssertionError

2010-12-13 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: This looks like another duplicate of issue1062277. -- nosy: +belopolsky ___ Python tracker ___ __

[issue10700] python pickle.dumps AssertionError

2010-12-13 Thread HwidongNa
New submission from HwidongNa : I'm trying to pickle a class instance containing two lists of another instances. The instances in the two lists have attributes that refer instances of each other. Here are the classes. import pickle from copy import copy class Graph: def __init__(self):