summaryrefslogtreecommitdiffstats
path: root/Objects/codeobject.c
diff options
context:
space:
mode:
authorJacob Bower <1978924+jbower-fb@users.noreply.github.com>2023-02-23 22:57:06 (GMT)
committerGitHub <noreply@github.com>2023-02-23 22:57:06 (GMT)
commit0c857865e4f255f99d58678f878e09c11da89892 (patch)
tree818c4341f962b56ccd1ac556557d87a5e6dcc7ae /Objects/codeobject.c
parentccd98a3146d66343499d04a44e038223a1a09e80 (diff)
downloadcpython-0c857865e4f255f99d58678f878e09c11da89892.zip
cpython-0c857865e4f255f99d58678f878e09c11da89892.tar.gz
cpython-0c857865e4f255f99d58678f878e09c11da89892.tar.bz2
Fix deadlock on shutdown if test_current_{exception,frames} fails (#102019)
* Don't deadlock on shutdown if test_current_{exception,frames} fails These tests spawn a thread that waits on a threading.Event. If the test fails any of its assertions, the Event won't be signaled and the thread will wait indefinitely, causing a deadlock when threading._shutdown() tries to join all outstanding threads. Co-authored-by: Brett Simmers <bsimmers@meta.com> * Add a news entry * Fix whitespace --------- Co-authored-by: Brett Simmers <bsimmers@meta.com> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
Diffstat (limited to 'Objects/codeobject.c')
0 files changed, 0 insertions, 0 deletions