Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Py_GIL_DISABLED=1 for free threaded Python on Windows #310

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Nov 1, 2024

  1. Set Py_GIL_DISABLED=1 for free threading on Windows

    When free threaded CPython is installed from the official Windows
    installer it doesn't have the macro `Py_GIL_DISABLED` properly set
    becuase its `pyconfig.h` file is shared across the co-installed default
    build.
    
    Define the macro when building free threaded Python extensions on
    Windows so that each individual C API extension doesn't have to work
    around this limitation.
    
    See pypa/setuptools#4662
    colesbury committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    287b6a6 View commit details
    Browse the repository at this point in the history
  2. Link to setuptools issue

    colesbury committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    407bd87 View commit details
    Browse the repository at this point in the history