summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2023-11-20 13:52:00 (GMT)
committerGitHub <noreply@github.com>2023-11-20 13:52:00 (GMT)
commit3b3ec0d77f0f836cbe5ff1ab97efcc8b7ed5d787 (patch)
treef79786b7e97064b1a71840ac9c1421e87d6adc15 /pyconfig.h.in
parent1c8f912ebdfdb146cd7dd2d7a3a67d2c5045ddb0 (diff)
downloadcpython-3b3ec0d77f0f836cbe5ff1ab97efcc8b7ed5d787.zip
cpython-3b3ec0d77f0f836cbe5ff1ab97efcc8b7ed5d787.tar.gz
cpython-3b3ec0d77f0f836cbe5ff1ab97efcc8b7ed5d787.tar.bz2
gh-111863: Rename `Py_NOGIL` to `Py_GIL_DISABLED` (#111864)
Rename Py_NOGIL to Py_GIL_DISABLED
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r--pyconfig.h.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 2bbc1bd..bf70892 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -1611,13 +1611,13 @@
/* Defined if Python is built as a shared library. */
#undef Py_ENABLE_SHARED
+/* Define if you want to disable the GIL */
+#undef Py_GIL_DISABLED
+
/* Define hash algorithm for str, bytes and memoryview. SipHash24: 1, FNV: 2,
SipHash13: 3, externally defined: 0 */
#undef Py_HASH_ALGORITHM
-/* Define if you want to disable the GIL */
-#undef Py_NOGIL
-
/* Define if you want to enable internal statistics gathering. */
#undef Py_STATS