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


Groups > comp.lang.python > #68329

Re: What does gc.get_objects() return?

From Jurko Gospodnetić <jurko.gospodnetic@pke.hr>
Subject Re: What does gc.get_objects() return?
Date 2014-03-13 13:36 +0100
Organization PKE sistemi d.o.o.
References (1 earlier) <5320BD3F.5030509@mrabarnett.plus.com> <lfqjgu$kug$1@ger.gmane.org> <CAPTjJmqdKZ6qDQ+PZAdxVF-hKN=txKh35ga_C451C2z_hpZZAA@mail.gmail.com> <CALwzidn4o-z=wvGS89-WvL=DivBm0T3GSbTV0qcUJFE5zmo2XA@mail.gmail.com> <CALwzidnbry5nJg0aLEr7yCcDmykr2QSeEcJ8NtVjRvj_4ce5rQ@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.8126.1394714219.18130.python-list@python.org> (permalink)

Show all headers | View raw


   Hi.

On 12.3.2014. 23:40, Ian Kelly wrote:
>> Or is it?
>>
>>>>> a = 1,2,3
>>>>> gc.is_tracked(a)
>> True
>>>>> gc.collect()
>> 0
>>>>> gc.is_tracked(a)
>> False

   Ufff.. nice one :-D

   Best regards,
     Jurko Gospodnetić

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


Thread

Re: What does gc.get_objects() return? Jurko Gospodnetić <jurko.gospodnetic@pke.hr> - 2014-03-13 13:36 +0100

csiph-web