13 Feb
2013
13 Feb
'13
7:30 p.m.
Hi,
On Wed, Feb 13, 2013 at 8:22 PM, Maciej Fijalkowski
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.