REPOST: Re: [Q] Deepcopy with Python 2.2 ?

Daniel Klein danielk at
Sat Dec 29 13:11:00 EST 2001

On 28 Dec 2001 08:47:05 -0800, setar at (Oliver Hofmann) wrote:

>'lo everyone!
>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

You can increase the recursion limit using


Daniel Klein

========= WAS CANCELLED BY =======:
From: Daniel Klein <danielk at>
Newsgroups: comp.lang.python
Subject: cmsg cancel <0m1s2uoptu84bpjvrjpeic6te3qf05s7q0 at>
Control: cancel <0m1s2uoptu84bpjvrjpeic6te3qf05s7q0 at>
Date: Mon, 31 Dec 2001 03:16:55 GMT
Organization: A poorly-installed InterNetNews site
Lines: 2
Message-ID: <cancel.0m1s2uoptu84bpjvrjpeic6te3qf05s7q0 at>
X-Trace: 1009774647 27193 (31 Dec 2001 04:57:27 GMT)
X-Complaints-To: usenet at
NNTP-Posting-Date: Mon, 31 Dec 2001 04:57:27 +0000 (UTC)
X-No-Archive: yes
X-Unac4ncel: yes
X-Commentary: I love NewsAgent 1.10 and the Sandblaster Cancel Engine Build 74 (19 March 1999)

This message was cancelled from within Mozilla.

More information about the Python-list mailing list