We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5551be7 commit 8f818caCopy full SHA for 8f818ca
mypyc/common.py
@@ -88,6 +88,10 @@
88
# some details in the PEP are out of date.
89
HAVE_IMMORTAL: Final = sys.version_info >= (3, 12)
90
91
+# Are we running on a free-threaded build (GIL disabled)? This implies that
92
+# we are on Python 3.13 or later.
93
+IS_FREE_THREADED: Final = bool(sysconfig.get_config_var("Py_GIL_DISABLED"))
94
+
95
96
JsonDict = dict[str, Any]
97
0 commit comments