]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-109566: regrtest _add_python_opts() handles KeyboardInterrupt (#110062)
authorVictor Stinner <vstinner@python.org>
Fri, 29 Sep 2023 00:51:22 +0000 (02:51 +0200)
committerGitHub <noreply@github.com>
Fri, 29 Sep 2023 00:51:22 +0000 (00:51 +0000)
commit235aacdeed71afa6572ffad15155e781cc70bad1
treeee8a9c8b07dbcddee82556b0ee2388c1db013b1a
parentbd4518c60c9df356cf5e05b81305e3644ebb5e70
gh-109566: regrtest _add_python_opts() handles KeyboardInterrupt (#110062)

In the subprocess code path, wait until the child process completes
with a timeout of EXIT_TIMEOUT seconds.

Fix create_worker_process() regression: use start_new_session=True if
USE_PROCESS_GROUP is true.

WorkerThread.wait_stopped() uses a timeout of 60 seconds, instead of
30 seconds.
Lib/test/libregrtest/main.py
Lib/test/libregrtest/run_workers.py
Lib/test/libregrtest/utils.py
Lib/test/libregrtest/worker.py