mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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.
This commit is contained in:
parent
bd4518c60c
commit
235aacdeed
4 changed files with 33 additions and 14 deletions
|
@ -541,7 +541,7 @@ def display_header(use_resources: tuple[str, ...]):
|
|||
print(f"== resources ({len(use_resources)}): "
|
||||
f"{', '.join(sorted(use_resources))}")
|
||||
else:
|
||||
print(f"== resources: (all disabled, use -u option)")
|
||||
print("== resources: (all disabled, use -u option)")
|
||||
|
||||
# This makes it easier to remember what to set in your local
|
||||
# environment when trying to reproduce a sanitizer failure.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue