Whre is my object ??

King Kuta mr.kuta at libero.it
Wed Jun 4 01:55:15 CEST 2003

Hi Aahz,
I bet the base question is: Will my object be garbage-collected?
I mean once I delete it it is no more referenced, right?
I can still manipulate it till it exist, because I have a pointer to its
instance, but when (and most of all if) python checks for bindings it will
find the object is not any more referenced to by any name.

So, ...


"Aahz" <aahz at pythoncraft.com> wrote in message
news:bbjb8b$hds$1 at panix1.panix.com...
> In article <bbj4p4$f8n$1 at news1.ucsd.edu>, King Kuta <mr.kuta at libero.it>
> >
> >Ok, a little riddle for he Python community.
> Erik already gave you a good answer.  For more detail, see
> http://starship.python.net/crew/mwh/hacks/objectthink.html
> -- 
> Aahz (aahz at pythoncraft.com)           <*>
> "If you don't know what your program is supposed to do, you'd better not
> start writing it."  --Dijkstra

More information about the Python-list mailing list