diff options
| author | Eric Snow <ericsnowcurrently@gmail.com> | 2023-05-15 13:59:26 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-15 13:59:26 -0600 |
| commit | 26baa747c2ebc2beeff769bb07b5fb5a51ad5f4b (patch) | |
| tree | e54b52c2c950d59a20f4b0658d8eb2af3adec246 /Include/cpython | |
| parent | cb88ae635e96d7020ba6187bcfd45ace4dcd8395 (diff) | |
| download | cpython-git-26baa747c2ebc2beeff769bb07b5fb5a51ad5f4b.tar.gz | |
gh-104341: Adjust tstate_must_exit() to Respect Interpreter Finalization (gh-104437)
With the move to a per-interpreter GIL, this check slipped through the cracks.
Diffstat (limited to 'Include/cpython')
| -rw-r--r-- | Include/cpython/pylifecycle.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/cpython/pylifecycle.h b/Include/cpython/pylifecycle.h index 08569ee683..314a5cc5b9 100644 --- a/Include/cpython/pylifecycle.h +++ b/Include/cpython/pylifecycle.h @@ -52,6 +52,7 @@ PyAPI_FUNC(const char *) _Py_gitidentifier(void); PyAPI_FUNC(const char *) _Py_gitversion(void); PyAPI_FUNC(int) _Py_IsFinalizing(void); +PyAPI_FUNC(int) _Py_IsInterpreterFinalizing(PyInterpreterState *interp); /* Random */ PyAPI_FUNC(int) _PyOS_URandom(void *buffer, Py_ssize_t size); |
