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 2323)
2424from ..extension import Extension
2525from ..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
2727
2828# An extension name is just a dot-separated list of Python NAMEs (ie.
2929# 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():
504504 """
505505 return sys .platform == 'win32' and get_platform ().startswith ('mingw' )
506506
507+
507508def is_freethreaded ():
508509 """Return True if the Python interpreter is built with free threading support."""
509510 return bool (sysconfig .get_config_var ('Py_GIL_DISABLED' ))
You can’t perform that action at this time.
0 commit comments