Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

19 May, 2024: Line wrapping has been changed to be more consistent with Usenet standards.
 If you find that it is broken please let me know here rocksolid.nodes.help


devel / comp.lang.python / Re: Question about garbage collection

SubjectAuthor
o Re: Question about garbage collectionChris Angelico

1
Re: Question about garbage collection

<mailman.70.1705355861.15798.python-list@python.org>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=25119&group=comp.lang.python#25119

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: rosuav@gmail.com (Chris Angelico)
Newsgroups: comp.lang.python
Subject: Re: Question about garbage collection
Date: Tue, 16 Jan 2024 08:57:27 +1100
Lines: 19
Message-ID: <mailman.70.1705355861.15798.python-list@python.org>
References: <35f5aba8-047e-477f-b1d5-6892d77aa9d8@chagford.com>
<26021.32890.649779.99770@ixdm.fritz.box> <ZaWFoQ_PlT-XsNEN@shallowsky.com>
<CAPTjJmoxVTwD+1tKPWj6YSBdxPG=TDbKz5mUdTwMMVoTsoXBzg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de RHmNmvic81AaexKh68Nqsw+YWIr4eruhTgFIlnNPL5HA==
Cancel-Lock: sha1:ONf+u2TTv1X7uJbtaYiyJxY8oDg= sha256:UMuumLue8NZhu4GuC6yUlT4PTUmq/zT0DR4CcrXiSM0=
Return-Path: <rosuav@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=MyGBOodv;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.005
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'e.g.': 0.07; 'modules':
0.07; 'that?': 0.07; 'python)': 0.09; 'writes:': 0.09; '2024':
0.16; 'chrisa': 0.16; 'dieter': 0.16; 'from:addr:rosuav': 0.16;
'from:name:chris angelico': 0.16; 'isolated': 0.16; 'millman':
0.16; 'objects.': 0.16; 'url:devguide': 0.16; 'wrote:': 0.16;
'python': 0.16; 'libraries': 0.19; 'subject:Question': 0.19;
'tue,': 0.19; 'to:addr:python-list': 0.20; 'written': 0.22;
'examples': 0.25; 'objects': 0.32; 'python-list': 0.32; 'message-
id:@mail.gmail.com': 0.32; 'there': 0.33; 'header:In-Reply-To:1':
0.34; 'received:google.com': 0.34; 'url-ip:104.17/16': 0.35;
'from:addr:gmail.com': 0.35; 'cases': 0.36; 'those': 0.36; 'read':
0.38; 'use': 0.39; 'methods': 0.39; 'wrote': 0.39; 'still': 0.40;
'(see': 0.40; 'should': 0.40; 'url:index': 0.68; 'collect,': 0.84;
'cycle': 0.84; 'garbage': 0.84; 'worry': 0.95
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1705355860; x=1705960660; darn=python.org;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:from:to:cc:subject:date:message-id:reply-to;
bh=gteganAklqzLYbPjcmEfSCMannVP5UdOeJLeppLEgpc=;
b=MyGBOodv4NzOUBBFZQsVjoNp0hrridsfW8QLMe/sNKJte15u+ggxlq+QoTN0H3a8Gk
XD3xcekahqU14aLRMYLCElQ9Kj9h7IuklIORv9aiSSEcBcIfp4SINkwOG7mDY9qmi3oC
go7ePspbB7kfHfJDvR1mKlFwXx9gjUV/PG16P514WMEalOCHaFlZSSo+FluTueNS29Ti
xHOYpZxiVN8HbyqUKhN9AJQzXy7SN8kMEc2rqFKIHH6GWU25pz8DB4JESNYzztNruxx/
KrgS8sZVl/IJ0UXSYF7O1nySGfVAunJTa/gSyws2kZllAWSDIRbcqIA27vEkGBhFGVLM
qhug==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1705355860; x=1705960660;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=gteganAklqzLYbPjcmEfSCMannVP5UdOeJLeppLEgpc=;
b=pra1tts/bAPgbZbFaBtW8I1k3vTHKSsCY4FDO5IWMBr5Mk9sD3NYwzZN/EHW9EAV8s
HyhYd44FwkLN01thD8nm+9fgV9vKH9qAI6OM3X6piXXu2ygdtpVU/Ho9nsoFU2xzpZcd
GQ1xohIiyDekGk/ydTF+slfSGN60tgmUcI+jKhZljvSeeWMq1nmR0ZHO0VlQP8bH+TH3
4M+RY1tKb8ximD5RPdke8bRCgq85Lh2OURkQA1pov1vwUNCp9NqC78KZVF4AA67aOwK5
lao18GboKWrs08XaJtt1FJVRZB/U03FJMek51ui2bpCVJx0ybiyzC+IrcL6ZSZTuyG16
MbVw==
X-Gm-Message-State: AOJu0Yy5K3JCucWPTIV85XBQxLdXXS0oXeqjME6p+M6DprEWAxRSvIBz
nLdBYL1h+QmPJoZOTgk1EuMUs1QMp4vy9BxYd1I=
X-Google-Smtp-Source: AGHT+IFJCA0LaUGTAHIR0fGdn9rl/VpdXEWv+vLLv5J8nmIKvnE0cnne6Wfdpe9lGSg3lVoIld++epPyYnkjWvxBXrc=
X-Received: by 2002:a05:6512:3d1b:b0:50e:80dc:b118 with SMTP id
d27-20020a0565123d1b00b0050e80dcb118mr1591690lfv.62.1705355859489; Mon, 15
Jan 2024 13:57:39 -0800 (PST)
In-Reply-To: <ZaWFoQ_PlT-XsNEN@shallowsky.com>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAPTjJmoxVTwD+1tKPWj6YSBdxPG=TDbKz5mUdTwMMVoTsoXBzg@mail.gmail.com>
X-Mailman-Original-References: <35f5aba8-047e-477f-b1d5-6892d77aa9d8@chagford.com>
<26021.32890.649779.99770@ixdm.fritz.box> <ZaWFoQ_PlT-XsNEN@shallowsky.com>
 by: Chris Angelico - Mon, 15 Jan 2024 21:57 UTC

On Tue, 16 Jan 2024 at 06:32, Akkana Peck via Python-list
<python-list@python.org> wrote:
>
> > Frank Millman wrote at 2024-1-15 15:51 +0200:
> > >I have read that one should not have to worry about garbage collection
> > >in modern versions of Python - it 'just works'.
>
> Dieter Maurer via Python-list writes:
> > There are still some isolated cases when not all objects
> > in an unreachable cycle are destroyed
> > (see e.g. step 2 of
> > "https://devguide.python.org/internals/garbage-collector/index.html#destroying-unreachable-objects").
>
> Also be warned that some modules (particularly if they're based on libraries not written in Python) might not garbage collect, so you may need to use other methods of cleaning up after those objects.
>

Got any examples of that?

ChrisA


devel / comp.lang.python / Re: Question about garbage collection

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor