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 be28187 commit b24919bCopy full SHA for b24919b
‎distutils/command/build_ext.py
@@ -23,7 +23,7 @@
23
)
24
from ..extension import Extension
25
from ..sysconfig import customize_compiler, get_config_h_filename, get_python_version
26
-from ..util import get_platform, is_mingw, is_freethreaded
+from ..util import get_platform, is_freethreaded, is_mingw
27
28
# An extension name is just a dot-separated list of Python NAMEs (ie.
29
# the same as a fully-qualified module name).
‎distutils/util.py
@@ -504,6 +504,7 @@ def is_mingw():
504
"""
505
return sys.platform == 'win32' and get_platform().startswith('mingw')
506
507
+
508
def is_freethreaded():
509
"""Return True if the Python interpreter is built with free threading support."""
510
return bool(sysconfig.get_config_var('Py_GIL_DISABLED'))
0 commit comments