◐ Shell
reader mode source ↗
Skip to content

[3.13] gh-124370: Add "howto" for free-threaded Python (GH-124371)#124860

Merged
Yhg1s merged 1 commit into
python:3.13from
miss-islington:backport-68e384c-3.13
Oct 3, 2024
Merged

[3.13] gh-124370: Add "howto" for free-threaded Python (GH-124371)#124860
Yhg1s merged 1 commit into
python:3.13from
miss-islington:backport-68e384c-3.13

Conversation

@miss-islington

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

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants