melwitt <melwi...@gmail.com> added the comment:

Hi, I've been following the work related to:

https://bugs.python.org/issue6721
https://bugs.python.org/issue40089

because I encountered a problem where a standard library lock was held by a 
parent process at the time that child processes were forked, so the child 
processes got stuck behind the inherited held locks.

But, if I'm understanding correctly, this issue is fixing something in python 
logging specifically and not all standard library locks in general.

My question is, will there be a way to reinit standard library locks in general 
using _at_fork_reinit()? That is, should we expect a future fix in python to do 
this or is the recommendation to continue to ensure the application reinits 
locks during process start if we know the process could be a child?

Thanks for your advice.

----------
nosy: +melwitt

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

Reply via email to