Daemon loses __file__ reference after a while.

Paul Rubin no.email at nospam.invalid
Tue Jul 24 21:32:32 CEST 2012

Dieter Maurer <dieter at 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?

More information about the Python-list mailing list