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


Groups > comp.lang.python > #42840

Re: is operator versus id() function

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <c.candide@laposte.net>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.043
X-Spam-Evidence '*H*': 0.93; '*S*': 0.01; 'cpython': 0.05; 'snippet': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.11; 'subject:versus': 0.16; 'unexpected': 0.16; 'cc:addr:python.org': 0.22; 'cc:2**1': 0.23; 'header:User- Agent:1': 0.23; 'fairly': 0.24; 'header:In-Reply-To:1': 0.27; 'code': 0.31; 'received:209.85': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'thanks': 0.36; 'received:209': 0.37; 'fact': 0.38; "you've": 0.63; 'answer.': 0.68; 'victim': 0.84; '2013': 0.98
X-Received by 10.49.133.135 with SMTP id pc7mr1041903qeb.29.1365180017473; Fri, 05 Apr 2013 09:40:17 -0700 (PDT)
Newsgroups comp.lang.python
Date Fri, 5 Apr 2013 09:40:17 -0700 (PDT)
In-Reply-To <mailman.144.1365173642.3114.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=82.245.68.143; posting-account=J_U-0woAAACrUCMCI_QdLAKny8A2zeDX
References <ed17e4ac-2000-42ef-aa2b-69ff421ae3fa@googlegroups.com> <mailman.144.1365173642.3114.python-list@python.org>
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-IP 82.245.68.143
MIME-Version 1.0
Subject Re: is operator versus id() function
From candide <c.candide@laposte.net>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
Cc Python <python-list@python.org>, Candide Dandide <c.candide@laposte.net>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.150.1365180026.3114.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1365180026 news.xs4all.nl 6917 [2001:888:2000:d::a6]:36512
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:42840

Show key headers only | View raw


Le vendredi 5 avril 2013 16:53:55 UTC+2, Arnaud Delobelle a écrit :
 

> 
> You've fallen victim to the fact that CPython is very quick to collect
> 
> garbage.  


OK, I get it but it's a fairly unexpected behavior. 
Thanks for the demonstrative snippet of code and the instructive answer.

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


Thread

is operator versus id() function Candide Dandide <c.candide@laposte.net> - 2013-04-05 06:49 -0700
  Re: is operator versus id() function Arnaud Delobelle <arnodel@gmail.com> - 2013-04-05 15:53 +0100
    Re: is operator versus id() function candide <c.candide@laposte.net> - 2013-04-05 09:40 -0700
      Re: is operator versus id() function Tim Delaney <timothy.c.delaney@gmail.com> - 2013-04-06 06:57 +1100
    Re: is operator versus id() function candide <c.candide@laposte.net> - 2013-04-05 09:40 -0700
  Re: is operator versus id() function Nobody <nobody@nowhere.com> - 2013-04-06 14:35 +0100

csiph-web