Message294159
> 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...). |
|
Date |
User |
Action |
Args |
2017-05-22 15:36:22 | pitrou | set | recipients:
+ pitrou, lemburg, twouters, georg.brandl, gregory.p.smith, jcea, amaury.forgeotdarc, vstinner, christian.heimes, grahamd, Arfrever, ionelmc, asvetlov, neologix, socketpair, sbt, aliles, serhiy.storchaka, yselivanov, DLitz, emptysquare, xupeng, rpcope1 |
2017-05-22 15:36:22 | pitrou | set | messageid: <1495467382.56.0.170391686392.issue16500@psf.upfronthosting.co.za> |
2017-05-22 15:36:22 | pitrou | link | issue16500 messages |
2017-05-22 15:36:22 | pitrou | create | |
|