how to "free" an object/var ?
Terry Reedy
tjreedy at udel.edu
Wed Jan 31 14:47:30 EST 2007
"John Nagle" <nagle at animats.com> wrote in message
news:AAXvh.1465$zH1.1114 at newssvr29.news.prodigy.net...
| If your data structure has no backlinks, it will go away
| as soon as the last reference to it disappears.
| In Python, garbage collection is mostly a backup to
| the reference counting system.
These both are true of the CPython implementation (current and known
future, at least) but not of other implementations and not of the language
itself.
The same comment applies to some other posts in this thread. GC, if any,
is implementation defined.
tjr
More information about the Python-list
mailing list