Author belopolsky
Recipients ajaksu2, alexandre.vassalotti, andersjm, belopolsky
Date 2010-06-29.15:42:32
SpamBayes Score 1.19552e-06
Marked as misclassified No
Message-id <>
At least part of the problem has nothing to do with subclassing from int and instead is related to pickling objects with circular references.

I am attaching a patch that demonstrates the problem.  In issue1581183-test.diff, I modified memoize so that it does nothing rather than fails an assert if object is already in the memo.  This makes python and C implementations behave the same, but still fail to produce correct results. Pickling with protocol 2 break circular reference and instead creates two independent objects.
Date User Action Args
2010-06-29 15:42:37belopolskysetrecipients: + belopolsky, andersjm, ajaksu2, alexandre.vassalotti
2010-06-29 15:42:36belopolskysetmessageid: <>
2010-06-29 15:42:35belopolskylinkissue1581183 messages
2010-06-29 15:42:34belopolskycreate