copy a class
txo at cs.nott.ac.uk
Thu Jun 12 15:32:19 CEST 2003
I get an error:
TypeError: can't pickle function objects
57: copy_reg.py:raise 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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list