Author zzzeek
Recipients grubert, schmir, skip.montanaro, zzzeek
Date 2008-12-07.01:03:28
SpamBayes Score 5.77287e-07
Marked as misclassified No
Message-id <1228611815.68.0.0498927683201.issue998998@psf.upfronthosting.co.za>
In-reply-to
Content
This bug can be reproduced very easily:

    import pickle

    class MyClass(object):
        pass
    
    m = MyClass()
    m2 = MyClass()

    s = set([m])
    m.foo = set([m2])
    m2.foo = s

    print pickle.dumps(s)

This bug is critical as the pure-python pickle module is required when
trying to remove warnings in -3 mode with Python 2.6, which is something
that will be very common in the near future.   It's easily reproducible
with simplistic object cycles like that of the above, in 2.5, 2.6 and
3.0 at least.
History
Date User Action Args
2008-12-07 01:03:37zzzeeksetrecipients: + zzzeek, skip.montanaro, grubert, schmir
2008-12-07 01:03:35zzzeeksetmessageid: <1228611815.68.0.0498927683201.issue998998@psf.upfronthosting.co.za>
2008-12-07 01:03:34zzzeeklinkissue998998 messages
2008-12-07 01:03:29zzzeekcreate