Exceptions and Object Destruction (was: Problem with apsw and garbage collection)
Piet van Oostrum
piet at cs.uu.nl
Sat Jun 13 15:06:09 CEST 2009
>>>>> Nikolaus Rath <Nikolaus at rath.org> (NR) wrote:
>NR> Is there a way to have the obj variable (that is created in dostuff())
>NR> destroyed earlier than at the end of the program? As you can see, I
>NR> already tried to explicitly call the garbage collector, but this does
>NR> not help.
The exact time of the destruction of objects is an implementation detail
and should not be relied upon.
Piet van Oostrum <piet at cs.uu.nl>
URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4]
Private email: piet at vanoostrum.org
More information about the Python-list