mike bayer <[EMAIL PROTECTED]> added the comment:

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.

----------
nosy: +zzzeek

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue998998>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to