[Python-Dev] Marking GC details as CPython-only

Armin Rigo arigo at tunes.org
Wed Feb 13 20:30:18 CET 2013


Hi,

On Wed, Feb 13, 2013 at 8:22 PM, Maciej Fijalkowski <fijall at gmail.com> wrote:
> I think it's well documented you should not rely on stuff like that
> being run at the exit of the interpreter.

Actually right now, at the exit of the interpreter, we just leave the
program without caring about running any __del__.  This might mean
that in a short-running script no __del__ is ever run.  I'd add this
question to your original list: is it good enough, or should we try
harder to run destructors at the exit?


A bientôt,

Armin.


More information about the Python-Dev mailing list