diff options
author | Petr Viktorin <encukou@gmail.com> | 2025-07-01 10:57:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-01 10:57:42 +0200 |
commit | fe119a08177feea27611450b0bb3901e330a2d58 (patch) | |
tree | c33a312acd4ea9c26415317eb5884f3e1d25a2c6 /Python/errors.c | |
parent | 845263adc60430781b8fae9e75575c63fea50dc3 (diff) | |
download | cpython-fe119a08177feea27611450b0bb3901e330a2d58.tar.gz cpython-fe119a08177feea27611450b0bb3901e330a2d58.zip |
gh-87135: threading.Lock: Raise rather than hang on Python finalization (GH-135991)
After Python finalization gets to the point where no other thread
can attach thread state, attempting to acquire a Python lock must hang.
Raise PythonFinalizationError instead of hanging.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions