[Python-ideas] solving multi-core Python
solipsis at pitrou.net
Mon Jun 22 00:41:57 CEST 2015
On Sun, 21 Jun 2015 14:08:09 -0700
Andrew Barnert via Python-ideas
<python-ideas at python.org> wrote:
> First, a minor question: instead of banning fork entirely within subinterpreters, why not just document that it is illegal to do anything between fork and exec in a subinterpreters, except for a very small (but possibly extensible) subset of Python?
It's actually already the case in POSIX that most things are illegal
between fork() and exec(). However, to make fork() practical, many
libraries or frameworks tend to ignore those problems deliberately.
More information about the Python-ideas