problem pickling objects created with the type function

Jeff Epler jepler at unpythonic.net
Wed Apr 21 18:35:03 EDT 2004


Yep.

Pickle stores instances by pickling information about the instance, plus
a string it uses to find the class.

If you do something too clever, like you did above, it doesn't work.

Jeff




More information about the Python-list mailing list