copy a class

Turhan Ozen txo at
Thu Jun 12 15:32:19 CEST 2003

I get an error:

TypeError: can't pickle function objects
57: TypeError, " can't pickle %s objects" % base.__name__

 I am making a copy of a class instance so that the original instance is 
not changed when I use it in some operations. But one attribute of this 
class is a reference to a function. Is this a problem? Could you please 
recommend me a solution?

Thank you,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list