Class destructor

Michael Hudson mwh at python.net
Fri Feb 14 08:59:36 EST 2003


Jp Calderone <exarkun at intarweb.us> writes:

>   Actually, reference counting and garbage collection are two separate
> methods.

Pedantry: reference counting *is* a form of garbage collection, by
most definitions[1].

The fact that the gc module is called what it is is unfortunate from
this point of view.  It would have been better called "cc" for cycle
collector or "cd" for cycle detector.  But it's a bit late for that.

Cheers,
M.

[1] I.e. the one I looked up in the foldoc.

-- 
  Unfortunately, nigh the whole world is now duped into thinking that 
  silly fill-in forms on web pages is the way to do user interfaces.  
                                        -- Erik Naggum, comp.lang.lisp




More information about the Python-list mailing list