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

Antoine Pitrou solipsis at pitrou.net
Mon Aug 29 19:22:53 CEST 2011


Le lundi 29 août 2011 à 13:23 -0400, Jesse Noller a écrit :
> 
> Yes, it is annoying; but again - this makes it more consistent with
> the windows implementation. I'd rather that restriction than the
> "sanitization" of the ability to use threading and multiprocessing
> alongside one another.

That sanitization is generally useful, though. For example if you want
to use any I/O after a fork().

Regards

Antoine.




More information about the Python-Dev mailing list