diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-10-02 15:44:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-02 15:44:26 (GMT) |
commit | a2074911baaa75216a6a3bc78487ee2254f031d5 (patch) | |
tree | fedd170935aeca6031b6b8945b2e2f36bc2e780d /Python/traceback.c | |
parent | aaa8bf18c6e569abb178896a68786ad3857663e9 (diff) | |
download | cpython-a2074911baaa75216a6a3bc78487ee2254f031d5.zip cpython-a2074911baaa75216a6a3bc78487ee2254f031d5.tar.gz cpython-a2074911baaa75216a6a3bc78487ee2254f031d5.tar.bz2 |
[3.12] gh-110036: multiprocessing Popen.terminate() catches PermissionError (GH-110037) (#110064)
gh-110036: multiprocessing Popen.terminate() catches PermissionError (GH-110037)
On Windows, multiprocessing Popen.terminate() now catchs
PermissionError and get the process exit code. If the process is
still running, raise again the PermissionError. Otherwise, the
process terminated as expected: store its exit code.
(cherry picked from commit bd4518c60c9df356cf5e05b81305e3644ebb5e70)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/traceback.c')
0 files changed, 0 insertions, 0 deletions