Class destructor
Jp Calderone
exarkun at intarweb.us
Thu Feb 13 18:39:33 EST 2003
On Thu, Feb 13, 2003 at 04:13:51PM -0700, Steven Taschuk wrote:
> Quoth Jp Calderone:
> > On Thu, Feb 13, 2003 at 11:33:30AM -0500, Mongryong wrote:
> [...]
> > > If you keep in mind that Python uses 'reference counting' for garbage
> > > collecting, you can see why the 'del a1' appears to be doing nothing.
> >
> > Actually, reference counting and garbage collection are two separate
> > methods. Straight reference counting is used for all non-cyclic structures.
>
> Um. Reference counting is one type of garbage collection. That
> Python happens to have another kind of garbage collector as well
> does not indicate otherwise, even though in Python-specific
> contexts it is common to speak of the latter as "the" garbage
> collector.
What is comp.lang.python, if not a Python-specific contxt?
Jp
--
"There is no reason for any individual to have a computer in their
home."
-- Ken Olson, President of DEC, World Future Society
Convention, 1977
--
up 5 days, 4:28, 4 users, load average: 0.03, 0.01, 0.00
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20030213/24371114/attachment.sig>
More information about the Python-list
mailing list