Skip to content

gh-137043: DOC: Free-threading howto should mention PyList_GET_ITEM #137042

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 23, 2025

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>
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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy