bpo-43843: libregrtest uses threading.excepthook by vstinner · Pull Request #25400 · python/cpython
test.libregrtest now marks a test as ENV_CHANGED (altered the execution environment) if a thread raises an exception but does not catch it. It sets a hook on threading.excepthook. Use --fail-env-changed option to mark the test as failed.
libregrtest regrtest_unraisable_hook() and regrtest_threading_excepthook() now explicitly flush sys.stdout, sys.stderr and sys.__stderr__.
vstinner
deleted the
regrtest_threading_excepthook
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters