does python have useless destructors?

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Tue Jun 15 12:16:51 CEST 2004


On Tue, 15 Jun 2004 01:09:05 -0700, David Turner wrote:

> So what I'll do is write a PEP to fix the exception handling semantics
> in CPython, and hope that pressure from users who discover how much
> easier it is to write RAII -style code will eventually introduce
> reference counting to Jython and friends.

Jython will not switch to reference counting, and programs relying on
destructors run immediately are still broken, relying on an implementation
detail of CPython.

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak at knm.org.pl
    ^^     http://qrnik.knm.org.pl/~qrczak/




More information about the Python-list mailing list