Skip to content

Conversation

crusaderky
Copy link
Contributor

@crusaderky crusaderky commented Jul 23, 2025

Closes #137043
PyList_GET_ITEM should be treated akin to PyList_GetItem when it comes to free-threading considerations.

Matching PR: python/peps#4507


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

@bedevere-app bedevere-app bot added awaiting review docs Documentation in the Doc dir skip news labels Jul 23, 2025
@github-project-automation github-project-automation bot moved this to Todo in Docs PRs Jul 23, 2025
@crusaderky crusaderky changed the title DOC: Free-threading howto should mention PyList_GET_ITEM gh-137043 DOC: Free-threading howto should mention PyList_GET_ITEM Jul 23, 2025
@crusaderky crusaderky changed the title gh-137043 DOC: Free-threading howto should mention PyList_GET_ITEM gh-137043: DOC: Free-threading howto should mention PyList_GET_ITEM Jul 23, 2025
Copy link
Member

@ZeroIntensity ZeroIntensity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kumaraditya303 kumaraditya303 merged commit 38b936c into python:main Jul 23, 2025
42 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Jul 23, 2025
@miss-islington-app
Copy link

Thanks @crusaderky for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 23, 2025
…free-threading docs (pythonGH-137042)

(cherry picked from commit 38b936c)

Co-authored-by: Guido Imperiale <crusaderky@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 23, 2025
…free-threading docs (pythonGH-137042)

(cherry picked from commit 38b936c)

Co-authored-by: Guido Imperiale <crusaderky@gmail.com>
@bedevere-app
Copy link

bedevere-app bot commented Jul 23, 2025

GH-137045 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Jul 23, 2025
@bedevere-app
Copy link

bedevere-app bot commented Jul 23, 2025

GH-137046 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jul 23, 2025
@crusaderky crusaderky deleted the ft-PyList_GET_ITEM branch July 23, 2025 14:38
kumaraditya303 pushed a commit that referenced this pull request Jul 23, 2025
… free-threading docs (GH-137042) (#137046)

gh-137043: mention `PyList_GET_ITEM` as unsafe borrowed API in free-threading docs (GH-137042)
(cherry picked from commit 38b936c)

Co-authored-by: Guido Imperiale <crusaderky@gmail.com>
hugovk pushed a commit that referenced this pull request Jul 23, 2025
… free-threading docs (GH-137042) (#137045)

Co-authored-by: Guido Imperiale <crusaderky@gmail.com>
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request Aug 19, 2025
kumaraditya303 pushed a commit to miss-islington/cpython that referenced this pull request Sep 9, 2025
…API in free-threading docs (pythonGH-137042) (python#137045)

Co-authored-by: Guido Imperiale <crusaderky@gmail.com>
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

Status: Done

Development

Successfully merging this pull request may close these issues.

Free-threading documentation should mention PyList_GET_ITEM

3 participants