Gregory P. Smith <g...@krypto.org> added the comment:

No Python thread is ever fork safe because the Python interpreter itself can 
never be made fork safe. Nor should anyone try to make the interpreter itself 
safe. It is too complex and effectively impossible to guarantee.

There is no general solution to this, fork and threading is simply broken in 
POSIX and no amount of duct tape outside of the OS kernel can fix it. My only 
desire is that we attempt to do the right thing when possible with the locks we 
know about within the standard library.

----------
priority: high -> normal

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6721>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to