Skip to content

Commit

Permalink
👹 Feed the hobgoblins (delint).
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Dec 26, 2024
1 parent be28187 commit 4becdfe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions distutils/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@ def is_mingw():
"""
return sys.platform == 'win32' and get_platform().startswith('mingw')


def is_freethreaded():
"""Return True if the Python interpreter is built with free threading support."""
return bool(sysconfig.get_config_var('Py_GIL_DISABLED'))

0 comments on commit 4becdfe

Please sign in to comment.