inspect.stack() and frame
felix.antoine.fortin at gmail.com
Fri Mar 12 15:08:09 CET 2010
Thanks Gabriel, you resumed quite well what I did discovered after my
by playing with the garbage collector module.
> (The garbage collector will,
> eventually, break the cycle and free those objects, but not very soon).
I'm not very familiar with the Python garbage collector, so you may
simple question, but how can it break the cycle? I guess the object
freed at least when the program ends, but could it be before that? Is
mechanisme in the garbage collector to detect circular references?
More information about the Python-list