[Python-Dev] Re: Object finalization for local (ie function) scopes

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Sat Jun 12 10:59:05 EDT 2004


W liście z sob, 12-06-2004, godz. 14:36 +0200, "Martin v. Löwis"
napisał:

> If it involves looking at
> all local variables, it might be implementable, but might cause a
> significant slowdown even if the feature is not used.

Not just inefficient but wrong: not all such objects should be
finalized. They can have references stored elsewhere.

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




More information about the Python-Dev mailing list