10000 PEP 793: Two small updates by encukou · Pull Request #4472 · python/peps · GitHub
[go: up one dir, main page]

Skip to content

PEP 793: Two small updates #4472 10000

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
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Revert the *spec* note removal
  • Loading branch information
encukou committed Jun 25, 2025
commit 055cca3c43155f7a21bb1be6e546376e5faa225d
3 changes: 2 additions & 1 deletion peps/pep-0793.rst
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,8 @@ They may not have a ``NULL`` value (instead, the slot can be omitted entirely).
Note that currently, for modules created from a *spec* (that is, using
``PyModule_FromDefAndSpec``), the ``PyModuleDef.m_name`` member is ignored
and the name from the spec is used instead.
All API proposed in this document will ignore ``Py_mod_name`` in the same way.
All API proposed in this document creates modules from a *spec*, and it will
ignore ``Py_mod_name`` in the same way.
The slot will be optional, but extension authors are strongly encouraged to
include it for the benefit of future APIs, external tooling, debugging,
and introspection.
Expand Down
0