Skip to content

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