REPOST: Re: [Q] Deepcopy with Python 2.2 ?
Daniel Klein
danielk at aracnet.com
Sat Dec 29 13:11:00 EST 2001
On 28 Dec 2001 08:47:05 -0800, setar at gmx.de (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
sys.setrecursionlimit()
Daniel Klein
========= WAS CANCELLED BY =======:
Path: news.sol.net!spool0-milwwi.newsops.execpc.com!newsfeeds.sol.net!newspump.sol.net!newsfeed.direct.ca!look.ca!newsfeed.dacom.co.kr!feeder.kornet.net!news1.kornet.net!ua4canc3ll3r
From: Daniel Klein <danielk at aracnet.com>
Newsgroups: comp.lang.python
Subject: cmsg cancel <0m1s2uoptu84bpjvrjpeic6te3qf05s7q0 at 4ax.com>
Control: cancel <0m1s2uoptu84bpjvrjpeic6te3qf05s7q0 at 4ax.com>
Date: Mon, 31 Dec 2001 03:16:55 GMT
Organization: A poorly-installed InterNetNews site
Lines: 2
Message-ID: <cancel.0m1s2uoptu84bpjvrjpeic6te3qf05s7q0 at 4ax.com>
NNTP-Posting-Host: 211.57.49.2
X-Trace: news2.kornet.net 1009774647 27193 211.57.49.2 (31 Dec 2001 04:57:27 GMT)
X-Complaints-To: usenet at news2.kornet.net
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