[Tutor] problem with unpickling an object
Yi Qiang
yi at yiqiang.net
Mon Jun 5 08:03:32 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi list,
I am pickling a dictionary that has as one of it's values an object I
create on the fly. When I try to unpickle that object, cPickle attempts
to recreate that object but of course that module is not present
anymore. How can I just make it skip over that particular key and just
set the value to None?
Thanks,
- --
Yi Qiang (yi at yiqiang.net)
Web: http://www.yiqiang.net
Tel: (206) 661-8469
PGP: 0xB515564B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFEg8k0tXlIMrUVVksRAt2tAJ4hq/3KmDo6BbS3p3AwhKf4Ga52DQCfXFtx
GERJqs3IcLXuKaRcq/zuRUE=
=SEZ6
-----END PGP SIGNATURE-----
More information about the Tutor
mailing list