]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-105912: document gotcha with using os.fork on macOS (#112871)
authorRonald Oussoren <ronaldoussoren@mac.com>
Thu, 14 Dec 2023 19:14:50 +0000 (20:14 +0100)
committerGitHub <noreply@github.com>
Thu, 14 Dec 2023 19:14:50 +0000 (20:14 +0100)
commit22511f77c2818a138a252e6ddae89725d082f8b0
tree7690588c6ca1a90a5a765f7ddc5b08ed4332c9d7
parenta723a13bf135306cdc5999a959596bfb487e8f4f
gh-105912: document gotcha with using os.fork on macOS (#112871)

* gh-105912: document gotcha with using os.fork on macOS

Using ``fork(2)`` on macOS when also using higher-level
system APIs in the parent proces can crash on macOS because
those system APIs are not written to handle this usage
pattern.

There's nothing we can do about this other than documenting
the problem.

Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Doc/library/os.rst
Doc/library/pty.rst
Doc/library/urllib.request.rst