copying classes?

harold fellermann harold.fellermann at upf.edu
Wed Dec 29 13:29:43 EST 2004


Hi all,

In the documentation of module 'copy' it is said that "This version 
does not copy types like module, class, function, method, stack trace, 
stack frame, file, socket, window, array, or any similar types."

Does anyone know another way to (deep)copy objects of type class? What 
is special about the objects of these types that they cannot be easily 
copied?

Any help appreciated,

- harold -


--
I like pigs. Dogs look up to us. Cats look down to us.
Pigs treat us as equal.
-- Winston Churchill




More information about the Python-list mailing list