Alexander Belopolsky <belopol...@users.sourceforge.net> 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. ---------- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> Cannot pickle self-referencing sets type: crash -> behavior Added file: http://bugs.python.org/file20036/set-graph.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10700> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com