Skip to content

Add support for requesting free-threaded builds of cpython. #1057

Closed
@AraHaan

Description

@AraHaan

Description:
Since Python 3.13 requesting the free-threaded GIL free builds of cpython (Py_GIL_DISABLED defined in the C code) is a new feature that is not shipped by default in the normal builds of cpython and c extensions could optionally provide said support, as such it is necessary to also provide support for requesting such builds, but the feature throws error for when they request Python versions older than 3.13 as it did not exist prior to 3.13.

Justification:
Using the github action to install 3.13+ of cpython just to build a multi-phase C extension that may include the new Py_mod_gil slot when Py_GIL_DISABLED is defined for the C extension).

Are you willing to submit a PR?

It depends on how hard it is to implement. I don't know typescript.

Metadata

Metadata

Labels

feature requestNew feature or request to improve the current logic

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions