◐ Shell
clean mode source ↗

gh-124370: Add "howto" for free-threaded Python by colesbury · Pull Request #124371 · python/cpython

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

@colesbury

ZeroIntensity

JelleZijlstra

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>

ZeroIntensity

JelleZijlstra

hugovk

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

gpshead

mpage

eendebakpt

eendebakpt

vstinner

nedbat

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

willingc

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

willingc

nedbat

@colesbury

willingc

emilyemorehouse added a commit to lysnikolaou/cpython that referenced this pull request

Sep 26, 2024

@colesbury colesbury deleted the gh-124370-python-free-threaded-howto branch

October 1, 2024 17:10

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Oct 1, 2024
* 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>

Yhg1s pushed a commit that referenced this pull request

Oct 3, 2024
…124860)

gh-124370: Add "howto" for free-threaded Python (GH-124371)
(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>