Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Oct 1, 2024

This is a guide aimed at people writing Python code, as oppposed to the
existing guide for C API extension authors.

  • Add missing new line

  • Update Doc/howto/free-threading-python.rst

Co-authored-by: Jelle Zijlstra [email protected]

  • interned -> immortalized

  • Apply suggestions from code review

Co-authored-by: Hugo van Kemenade [email protected]

  • Update Doc/howto/free-threading-python.rst

Co-authored-by: mpage [email protected]

  • Update docs

  • Apply suggestions from code review

Co-authored-by: Carol Willing [email protected]

  • A few more updates

  • Additional comment on immortal objects

  • Mention specializing adaptive interpreter

  • Remove trailing whitespace

  • Remove mention of C macro


(cherry picked from commit 68e384c)

Co-authored-by: Sam Gross [email protected]
Co-authored-by: Jelle Zijlstra [email protected]
Co-authored-by: Hugo van Kemenade [email protected]
Co-authored-by: mpage [email protected]
Co-authored-by: Carol Willing [email protected]


📚 Documentation preview 📚: https://cpython-previews--124860.org.readthedocs.build/

* pythongh-124370: Add "howto" for free-threaded Python

This is a guide aimed at people writing Python code, as oppposed to the
existing guide for C API extension authors.

* Add missing new line

* Update Doc/howto/free-threading-python.rst

Co-authored-by: Jelle Zijlstra <[email protected]>

* interned -> immortalized

* Apply suggestions from code review

Co-authored-by: Hugo van Kemenade <[email protected]>

* Update Doc/howto/free-threading-python.rst

Co-authored-by: mpage <[email protected]>

* Update docs

* Apply suggestions from code review

Co-authored-by: Carol Willing <[email protected]>

* A few more updates

* Additional comment on immortal objects

* Mention specializing adaptive interpreter

* Remove trailing whitespace

* Remove mention of C macro

---------

(cherry picked from commit 68e384c)

Co-authored-by: Sam Gross <[email protected]>
Co-authored-by: Jelle Zijlstra <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
Co-authored-by: mpage <[email protected]>
Co-authored-by: Carol Willing <[email protected]>
@colesbury
Copy link
Contributor

@Yhg1s - a Python "howto" that we didn't backport yet. It can be merged now or wait until after the 3.13.0 final if you prefer.

@Yhg1s Yhg1s merged commit 4ff32aa into python:3.13 Oct 3, 2024
@miss-islington miss-islington deleted the backport-68e384c-3.13 branch January 2, 2026 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news topic-free-threading

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants