is operator versus id() function

candide c.candide at laposte.net
Fri Apr 5 12:40:17 EDT 2013


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.



More information about the Python-list mailing list