[issue16500] Allow registering at-fork handlers
Antoine Pitrou
report at bugs.python.org
Mon May 22 11:36:22 EDT 2017
Antoine Pitrou added the comment:
> If the corresponding warnings are ignored, nothing happen, if they are errors, the child is exited,
Right now PyOS_AfterFork() doesn't return an error code. It is not obvious how the caller would react: simply print the error? raise a fatal error? Something else?
The only third-party use of PyOS_AfterFork() I found is in uwsgi (and I'm not sure they're using it correctly, since I don't know if the parent process is using Python at all...).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16500>
_______________________________________
More information about the Python-bugs-list
mailing list