pickle and weakref

Nagy László nagylzs at freemail.hu
Fri Jan 10 15:04:14 CET 2003

> print a.c          # None
> print a.ref_b    # <weakref at 0x???? to 'instance' at 0x????>, 
> references to pickled instances should be unpickled gracefully
> print a.ref_c    # <weakref at ????; dead>, references to other (not 
> pickled) instances should be unpickled as a dead reference
Sorry, "print a.c" was a mistake.

 Laci 1.0

More information about the Python-list mailing list