We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 959b1e1 commit 717e99fCopy full SHA for 717e99f
include/pybind11/detail/internals.h
@@ -103,7 +103,7 @@ class thread_specific_storage {
103
// However, in GraalPy (as of v24.2 or older), TSS is implemented by Java and this call
104
// requires a living Python interpreter.
105
#ifdef GRAALVM_PYTHON
106
- if (Py_IsInitialized() == 0 || Py_IsFinalizing() != 0) {
+ if (Py_IsInitialized() == 0 || _Py_IsFinalizing() != 0) {
107
return;
108
}
109
#endif
0 commit comments