This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gregory.p.smith
Recipients Albert.Zeyer, gregory.p.smith, lukasz.langa
Date 2018-04-04.07:13:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1522826009.16.0.467229070634.issue31814@psf.upfronthosting.co.za>
In-reply-to
Content
A raw os.posix_spawn() API has been added to 3.7.

vfork() would likely all sorts of other problems.  It is extremely complicated and implementations have bugs.  CERT says never to use it.
  https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?pageId=87152373

When forking or threading is involved, you are already always at the mercy of all other code running in your process.  This is not new.

That some C/C++ libraries misuse pthread_atfork() is not a surprise.  But the bug is theirs.

We should not try to paper over others C and system call mistakes.  Their code needs fixing.
History
Date User Action Args
2018-04-04 07:13:29gregory.p.smithsetrecipients: + gregory.p.smith, lukasz.langa, Albert.Zeyer
2018-04-04 07:13:29gregory.p.smithsetmessageid: <1522826009.16.0.467229070634.issue31814@psf.upfronthosting.co.za>
2018-04-04 07:13:29gregory.p.smithlinkissue31814 messages
2018-04-04 07:13:29gregory.p.smithcreate