Skip to content

Conversation

@encukou
Copy link
Member

@encukou encukou commented Oct 10, 2025

  • Remove the spec argument.
  • Add example of token usage. And hopefully make it clearer that it's less important than the size of its section suggests.
  • Add rejected idea: Changing PyModuleDef to not be PyObject
  • Mention that PEP-803 wants to make Py_mod_abi mandatory.

The PEP has an open SC ticket, but they've been warned that details may change.

  • 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--4651.org.readthedocs.build/

- Lose the *spec* argument
- Add *const* to arguments we don't change
- Add a section on tokens
@encukou encukou requested a review from a team as a code owner October 10, 2025 13:57
@encukou encukou merged commit 54cf5eb into python:main Oct 16, 2025
6 checks passed
@encukou encukou deleted the 793-improvements branch October 16, 2025 14:03
zklaus pushed a commit to zklaus/peps that referenced this pull request Nov 3, 2025
- Lose the *spec* argument
- Add *const* to arguments we don't change
- Show token use in the example
- Add rejected idea about changing PyModuleDef
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.

1 participant