[Python-Dev] issue 6721 "Locks in python standard library should be sanitized on fork"

Charles-François Natali cf.natali at gmail.com
Tue Aug 23 20:43:25 CEST 2011


2011/8/23, Nir Aides <nir at winpdb.org>:
> Hi all,

Hello Nir,

> Please consider this invitation to stick your head into an interesting
> problem:
> http://bugs.python.org/issue6721

Just for the record, I'm now in favor of the atfork mechanism. It
won't solve the problem for I/O locks, but it'll at least make room
for a clean and cross-library way to setup atfork handlers. I just
skimmed over it, but it seemed Gregory's atfork module could be a good
starting point.

cf


More information about the Python-Dev mailing list