On 17 Jun 2005 15:41:07 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > 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?
You are probably trying to copy an instance of a class implemented in C extension. AFAIK, Python classes have copy support by default, but extension classes need to implement copy/pickle protocol. - kv -- http://mail.python.org/mailman/listinfo/python-list