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 

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 <>
Python-bugs-list mailing list

Reply via email to