destructors -- when are they called?

Neil Schemenauer nascheme at enme.ucalgary.ca
Tue May 30 02:22:07 EDT 2000


Courageous <jkraska1 at san.rr.com> wrote:
>When writing a C language extension, is it guaranteed that the
>moment your object's reference count is reduced to zero it's
>destructor will be called? (I have a situation in which this
>may matter).

Yes.

    Neil

-- 
"I can't believe I put pants on for this."
            --Homer Simpson



More information about the Python-list mailing list