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: 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: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=82.245.68.143; posting-account=J_U-0woAAACrUCMCI_QdLAKny8A2zeDX References: 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 To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Python , Candide Dandide X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: 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 Le vendredi 5 avril 2013 16:53:55 UTC+2, Arnaud Delobelle a =E9crit=A0: =20 >=20 > You've fallen victim to the fact that CPython is very quick to collect >=20 > garbage. =20 OK, I get it but it's a fairly unexpected behavior.=20 Thanks for the demonstrative snippet of code and the instructive answer.