mirror of https://github.com/python/cpython
Browse Source
Don't call _Py_open() from _close_open_fds_safe() because it is call just after fork(). It's not good to play with locks (the GIL) between fork() and exec(). Use instead _Py_open_noraise() which doesn't touch to the GIL.
1 changed files with 1 additions and 2 deletions
Loading…
Reference in new issue