Skip to content

PEP 743: Omit PyList_GET_ITEM #4507

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

crusaderky
Copy link

@crusaderky crusaderky commented Jul 23, 2025

  • Change is either:
    • To a Draft PEP
    • To an Accepted or Final PEP, with Steering Council approval
    • To fix an editorial issue (markup, typo, link, header, etc)
  • PR title prefixed with PEP number (e.g. PEP 123: Summary of changes)

PyList_GET_ITEM should be treated akin to PyList_GetItem when it comes to free-threading considerations.
This PR matches python/cpython#137042.


📚 Documentation preview 📚: https://pep-previews--4507.org.readthedocs.build/

@encukou
Copy link
Member

encukou commented Jul 24, 2025

I think PEP 743 should say that Py_COMPAT_API_VERSION works with limited API (which already excludes PyList_GET_ITEM). @vstinner, would that match your intention?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 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