Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islingtonmiss-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 jelle.zijlstra@gmail.com

  • interned -> immortalized

  • Apply suggestions from code review

Co-authored-by: Hugo van Kemenade 1324225+hugovk@users.noreply.github.com

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

Co-authored-by: mpage mpage@cs.stanford.edu

  • Update docs

  • Apply suggestions from code review

Co-authored-by: Carol Willing carolcode@willingconsulting.com

  • 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 colesbury@gmail.com
Co-authored-by: Jelle Zijlstra jelle.zijlstra@gmail.com
Co-authored-by: Hugo van Kemenade 1324225+hugovk@users.noreply.github.com
Co-authored-by: mpage mpage@cs.stanford.edu
Co-authored-by: Carol Willing carolcode@willingconsulting.com


📚 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 <jelle.zijlstra@gmail.com> * interned -> immortalized * Apply suggestions from code review Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> * Update Doc/howto/free-threading-python.rst Co-authored-by: mpage <mpage@cs.stanford.edu> * Update docs * Apply suggestions from code review Co-authored-by: Carol Willing <carolcode@willingconsulting.com> * 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 <colesbury@gmail.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: mpage <mpage@cs.stanford.edu> Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
@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.

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

Labels

docsDocumentation in the Doc dirskip newstopic-free-threading

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@miss-islington@colesbury@Yhg1s