diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-12-15 15:21:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-15 15:21:02 (GMT) |
commit | 8c92d64ede33085f2fe5fcd734c0736a00b89b15 (patch) | |
tree | 7ec0a7c778710dcf4037492aa7c1407a2eb4f6e9 /Lib/pydoc.py | |
parent | ded4307fc1abf2617a1c88abcc7ff352375ea47b (diff) | |
download | cpython-8c92d64ede33085f2fe5fcd734c0736a00b89b15.zip cpython-8c92d64ede33085f2fe5fcd734c0736a00b89b15.tar.gz cpython-8c92d64ede33085f2fe5fcd734c0736a00b89b15.tar.bz2 |
[3.12] gh-113009: Fix multiprocessing Process.terminate() on Windows (GH-113128) (#113177)
gh-113009: Fix multiprocessing Process.terminate() on Windows (GH-113128)
On Windows, Process.terminate() no longer sets the returncode
attribute to always call WaitForSingleObject() in Process.wait().
Previously, sometimes the process was still running after
TerminateProcess() even if GetExitCodeProcess() is not STILL_ACTIVE.
(cherry picked from commit 4026ad5b2c595b855a3605420cfa0e3d49e63db7)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Lib/pydoc.py')
0 files changed, 0 insertions, 0 deletions