Thanks Gabriel!
I get it now. With your help I was able to focus on the real problem.
Here is the correctly working example for the record:
import gc
class Test(object):
def __init__(self):
pass
gc.collect()
original_objects_id = [id(x) for x in gc.get_objects()]
#create object a
a
En Sat, 06 Oct 2007 14:16:36 -0300, David Tremouilles
<[EMAIL PROTECTED]> escribi�:
> I would need help to understand how garbage collection work and how to
> "trace" objects...
> In the example below an object is created and deleted.
Not exactly: an object is created and bound to the name "a".