Thanks to visit codestin.com
Credit goes to github.com

Skip to content

PEP 793: Two small updates #4472

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 2 commits into from
Jun 25, 2025
Merged

PEP 793: Two small updates #4472

merged 2 commits into from
Jun 25, 2025

Conversation

encukou
Copy link
Member

@encukou encukou commented Jun 24, 2025

  • PyType_GetModuleByToken will return a strong reference, unlike PyType_GetModuleByDef
  • Remove incorrect note that the new API creates modules from a spec. (The note could be updated to say slots, but, it isn't that important.)

  • 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)

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

- PyType_GetModuleByToken will return a strong reference, unlike
  PyType_GetModuleByDef
- Remove incorrect note that the new API creates modules from
  a *spec*. (The note could be updated to say *slots*, but, it
  isn't that important.)
@encukou
Copy link
Member Author

encukou commented Jun 25, 2025

Ugh, ignore the second change. I got confused by def vs. spec again.
(If only there was a PEP to phase of one of those out...)

@encukou encukou merged commit 65602dc into python:main Jun 25, 2025
5 checks passed
@encukou encukou deleted the pep793-update branch June 25, 2025 08:46
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