Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #89826

Re: Inner workings of this Python feature: Can a Python data structure reference itself?

Path csiph.com!usenet.pasdenom.info!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.049
X-Spam-Evidence '*H*': 0.90; '*S*': 0.00; 'explicitly': 0.05; 'subject:Python': 0.06; 'garbage': 0.16; 'subject: \n ': 0.16; 'sat,': 0.16; 'wrote:': 0.18; "hasn't": 0.19; '(by': 0.24; 'header :In-Reply-To:1': 0.27; 'tim': 0.29; 'message-id:@mail.gmail.com': 0.30; 'chase': 0.31; 'disabled': 0.31; 'run': 0.32; 'but': 0.35; 'received:google.com': 0.35; 'module.': 0.36; 'subject:data': 0.36; 'subject:?': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'subject:Can': 0.60; 'such': 0.63; 'subject:this': 0.83; '2015': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=OpK80/CU2BtSOlfd3NAFAJAUd+9PrsWGCdpoIqR3E2M=; b=cXmdYli1RIeHihLn58AdaP2+XQKEZewVsernJ+enhBIwPiF4q8g0T77mJTpU26EH1v JK8v/Y/Q4FhrtVL2zaOBpXomaYyydjIFFKNufKBb/8mheG6Z6J0xUqG2fGylBTnO9XeB smq6RlDaGR8B/F7ZhCn/uBdxaN+xT9NilvFWs0kmPWyjl1e0mE7gdc2ZIxfnae8ZIMda XQp/fEdnvMBaQtHLfBA6Rqg1PU0KcVTmMWLMxj2bPHvjdZ0QQRx/7zCC1iMCePjvoJU9 9UYNFEqfAsLIslxvfMe9uc8K9d/oAZmv/365OXNJe6xzzKwEHXM0lpqS7Gpv9CIO2K2F 4V8A==
X-Received by 10.107.136.89 with SMTP id k86mr19877005iod.63.1430627420825; Sat, 02 May 2015 21:30:20 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <20150502205740.53527192@bigbox.christie.dr>
References <387ac520-9da3-411a-a3b8-b326e1e8a2c0@googlegroups.com> <mailman.26.1430597813.12865.python-list@python.org> <87a8xmn0yp.fsf@Equus.decebal.nl> <20150502205740.53527192@bigbox.christie.dr>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Sat, 2 May 2015 22:29:40 -0600
Subject Re: Inner workings of this Python feature: Can a Python data structure reference itself?
To Python <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
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 <http://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>
Newsgroups comp.lang.python
Message-ID <mailman.43.1430627424.12865.python-list@python.org> (permalink)
Lines 8
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1430627424 news.xs4all.nl 2841 [2001:888:2000:d::a6]:36033
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:89826

Show key headers only | View raw


On Sat, May 2, 2015 at 7:57 PM, Tim Chase <python.list@tim.thechases.com> wrote:
> So it sounds like you have to request such a mark-and-sweep from
> the gc module.

You *can* request it. But as long as it hasn't been explicitly
disabled (by calling gc.disable()), the mark-and-sweep garbage
collection will also run automatically -- just not necessarily
immediately.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Inner workings of this Python feature: Can a Python data structure reference itself? vasudevram <vasudevram@gmail.com> - 2015-05-02 13:02 -0700
  Re: Inner workings of this Python feature: Can a Python data structure reference itself? Tim Chase <python.list@tim.thechases.com> - 2015-05-02 15:17 -0500
    Re: Inner workings of this Python feature: Can a Python data structure reference itself? vasudevram <vasudevram@gmail.com> - 2015-05-02 14:07 -0700
    Re: Inner workings of this Python feature: Can a Python data structure reference itself? Cecil Westerhof <Cecil@decebal.nl> - 2015-05-02 23:06 +0200
      Re: Inner workings of this Python feature: Can a Python data structure reference itself? MRAB <python@mrabarnett.plus.com> - 2015-05-03 00:07 +0100
      Re: Inner workings of this Python feature: Can a Python data structure reference itself? Tim Chase <python.list@tim.thechases.com> - 2015-05-02 20:57 -0500
      Re: Inner workings of this Python feature: Can a Python data structure reference itself? Ian Kelly <ian.g.kelly@gmail.com> - 2015-05-02 22:29 -0600
  Re: Inner workings of this Python feature: Can a Python data structure reference itself? Tim Chase <python.list@tim.thechases.com> - 2015-05-02 15:10 -0500
  Re: Inner workings of this Python feature: Can a Python data structure reference itself? Terry Reedy <tjreedy@udel.edu> - 2015-05-02 19:17 -0400
    Re: Inner workings of this Python feature: Can a Python data structure reference itself? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-05-03 21:10 +1000
    Re: Inner workings of this Python feature: Can a Python data structure reference itself? vasudevram <vasudevram@gmail.com> - 2015-05-03 05:59 -0700
      Re: Inner workings of this Python feature: Can a Python data structure reference itself? vasudevram <vasudevram@gmail.com> - 2015-05-03 06:05 -0700
      Re: Inner workings of this Python feature: Can a Python data structure reference itself? Chris Angelico <rosuav@gmail.com> - 2015-05-03 23:08 +1000
        Re: Inner workings of this Python feature: Can a Python data structure reference itself? vasudevram <vasudevram@gmail.com> - 2015-05-03 08:46 -0700
  Re: Inner workings of this Python feature: Can a Python data structure reference itself? Ian Kelly <ian.g.kelly@gmail.com> - 2015-05-02 22:43 -0600
  Re: Inner workings of this Python feature: Can a Python data structure reference itself? Chris Angelico <rosuav@gmail.com> - 2015-05-03 15:46 +1000
  Re: Inner workings of this Python feature: Can a Python data structure reference itself? vasudevram <vasudevram@gmail.com> - 2015-05-03 03:52 -0700

csiph-web