What makes an object uncopyable?

tron.thomas at verizon.net tron.thomas at verizon.net
Fri Jun 17 18:41:07 EDT 2005


I am trying to make a copy of a certain Python object using the
copy.copy() function.  When I try to perform this operation I get an
error like the following:

copy.Error: un(shallow)copyable object of type ...

What factors determine whether an object can be copied?




More information about the Python-list mailing list