]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-121381 Remove subprocess._USE_VFORK escape hatch (#121383)
authorCody Maloney <cmaloney@users.noreply.github.com>
Wed, 31 Jul 2024 01:39:54 +0000 (18:39 -0700)
committerGitHub <noreply@github.com>
Wed, 31 Jul 2024 01:39:54 +0000 (18:39 -0700)
commita9344cdffa30fdf60154d645f9e74ab3d67ae2e9
treeb9aedf3830b49fa93a9dbbfda8635ece486aa717
parent82db5728136ebec3a1d221570b810b4128a21255
gh-121381 Remove subprocess._USE_VFORK escape hatch (#121383)

This flag was added as an escape hatch in gh-91401 and backported to
Python 3.10. The flag broke at some point between its addition and now.
As there is currently no publicly known environments that require this,
remove it rather than work on fixing it.

This leaves the flag in the subprocess module to not break code which
may have used / checked the flag itself.

discussion: https://discuss.python.org/t/subprocess-use-vfork-escape-hatch-broken-fix-or-remove/56915/2
Doc/library/subprocess.rst
Lib/multiprocessing/util.py
Lib/subprocess.py
Lib/test/test_capi/test_misc.py
Lib/test/test_subprocess.py
Misc/NEWS.d/next/Core and Builtins/2024-06-28-23-17-22.gh-issue-121381.i2xL7P.rst [new file with mode: 0644]
Modules/_posixsubprocess.c
Modules/clinic/_posixsubprocess.c.h