Daemon loses __file__ reference after a while.

Laszlo Nagy gandalf at shopzeus.com
Tue Jul 24 08:31:13 EDT 2012


> If you use fork(), it drops all file descriptors, and creates new
> ones - may be then loss the __file__...?
>
I don't think this is the case. He wrote that the process runs for weeks 
without problems, and code using __file__ is being executed all the time.



More information about the Python-list mailing list