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


Groups > comp.lang.python > #68329 > unrolled thread

Re: What does gc.get_objects() return?

Started byJurko Gospodnetić <jurko.gospodnetic@pke.hr>
First post2014-03-13 13:36 +0100
Last post2014-03-13 13:36 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#68329 — Re: What does gc.get_objects() return?

FromJurko Gospodnetić <jurko.gospodnetic@pke.hr>
Date2014-03-13 13:36 +0100
SubjectRe: What does gc.get_objects() return?
Message-ID<mailman.8126.1394714219.18130.python-list@python.org>
   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ć

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web