Destructor being called twice?

Benjamin Peterson benjamin at python.org
Mon Apr 12 16:23:42 EDT 2010


Longpoke <longpoke <at> gmail.com> writes:
> So either this test case is wrong to assume the destructor can only be
> called once, or there is a bug in Python?

Destructors can be called more than once in CPython, but other implementations
have proper finalization behavior.







More information about the Python-list mailing list