Skip to content

Support for free threaded python#1879

Draft
t-kalinowski wants to merge 3 commits intomainfrom
freethreaded-python
Draft

Support for free threaded python#1879
t-kalinowski wants to merge 3 commits intomainfrom
freethreaded-python

Conversation

@t-kalinowski
Copy link
Member

This is some early reconnaissance I did on what it would take to add support for free-threaded Python. Adding this support is doable with not many code changes, however:

  • The C API for free-threaded Python builds has not completely stabilized yet.
  • Adding the support will introduce a small runtime performance cost that would be paid even when running a regular single-threaded build of Python.

I'm going to leave this PR open in draft mode for now. We can revisit if free-threaded Python gain usage or start to deliver compelling benefits for reticulate users, or the C API stabilizes for free-threaded Python builds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant