On Tue, Jul 24, 2012 at 1:32 PM, Paul Rubin <no.email@nospam.invalid> wrote:
> Dieter Maurer <die...@handshake.de> writes:
>> I have only one vague idea: should something try to terminate the
>> process, modules would start to lose their variables during shutdown.
>
> That happens all the time with multi-threaded programs, because the
> shutdown is happening concurrently with other threads doing stuff.  Are
> there threads in this particular program?

It also comes up in single-threaded programs that use finalizers
(__del__ methods).  At the time an object is finalized, many globals
might already be gone.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to