diff options
Diffstat (limited to 'contrib/tools/python3/Include/internal/pycore_exceptions.h')
| -rw-r--r-- | contrib/tools/python3/Include/internal/pycore_exceptions.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/tools/python3/Include/internal/pycore_exceptions.h b/contrib/tools/python3/Include/internal/pycore_exceptions.h index 4a9df709131..26456d1966b 100644 --- a/contrib/tools/python3/Include/internal/pycore_exceptions.h +++ b/contrib/tools/python3/Include/internal/pycore_exceptions.h @@ -24,6 +24,9 @@ struct _Py_exc_state { PyObject *errnomap; PyBaseExceptionObject *memerrors_freelist; int memerrors_numfree; +#ifdef Py_GIL_DISABLED + PyMutex memerrors_lock; +#endif // The ExceptionGroup type PyObject *PyExc_ExceptionGroup; }; |
