Copying objects and multiple inheritance

Brian Allen Vanderburg II BrianVanderburg2 at
Wed Jun 3 00:02:47 CEST 2009

What is the best way to copy an object that has multiple inheritance 
with the copy module.  Particularly, some of the instances in the 
hierarchy  use the __copy__ method to create a copy (because even for 
shallow copies they need some information  updated a little 
differently), so how can I make sure all the information is copied as it 
is supposed to be even for the base classes that have special requirements.

Brian Vanderburg II

More information about the Python-list mailing list