[Q] Deepcopy with Python 2.2 ?

Tim Peters tim.one at home.com
Fri Dec 28 23:41:10 EST 2001


[Oliver Hofmann]
> I've had a few problems with copying objects lately when they 
> reference each other. My understanding is that deepcopy should 
> take care of that due to the memo - dictionary; this does not 
> seem to be the case. 
>
> The following code works fine if Base does _not_ inherit 
> from object. If it does the result is:
>
> RuntimeError: maximum recursion depth exceeded

Please see

http://sf.net/tracker/index.php?func=detail&aid=497426&group_id=5470&atid=105470




More information about the Python-list mailing list