File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 23
23
)
24
24
from ..extension import Extension
25
25
from ..sysconfig import customize_compiler , get_config_h_filename , get_python_version
26
- from ..util import get_platform , is_mingw , is_freethreaded
26
+ from ..util import get_platform , is_freethreaded , is_mingw
27
27
28
28
# An extension name is just a dot-separated list of Python NAMEs (ie.
29
29
# the same as a fully-qualified module name).
Original file line number Diff line number Diff line change @@ -504,6 +504,7 @@ def is_mingw():
504
504
"""
505
505
return sys .platform == 'win32' and get_platform ().startswith ('mingw' )
506
506
507
+
507
508
def is_freethreaded ():
508
509
"""Return True if the Python interpreter is built with free threading support."""
509
510
return bool (sysconfig .get_config_var ('Py_GIL_DISABLED' ))
You can’t perform that action at this time.
0 commit comments