gh-140550: Initial implementation of PEP 793 – PyModExport#140556
Conversation
This uses a "def-like" structure: a PyModuleDef* that's not a valid Python object.
encukou
left a comment
There was a problem hiding this comment.
Thank you for the initial review!
Yes, but there's a lot of tests. And I've also renamed things that changed semantics, so unrelated changes/backports will conflict or fail to build, rather than merge cleanly at the Git level but be subtly broken.
Sorry, something went wrong.
|
!buildbot AMD64.FreeBSD.Refleaks |
Sorry, something went wrong.
|
🤖 New build scheduled with the buildbot fleet by @encukou for commit 01d52ba 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F140556%2Fmerge The command will test the builders whose names match following regular expression: The builders matched are:
|
Sorry, something went wrong.
Yes. There's a lot to add since the PEP calls for soft-deprecation of |
Sorry, something went wrong.
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
vstinner
left a comment
There was a problem hiding this comment.
LGTM. Just please move _PyModule_GetGCHooks() to pycore_moduleobject.h.
Sorry, something went wrong.
|
Thank you for the review! |
Sorry, something went wrong.
589a03a
into
python:main
Nov 5, 2025
|
Congrats :-) |
Sorry, something went wrong.
|
I created #141056 to fix the issue. |
Sorry, something went wrong.
|
Thank you! |
Sorry, something went wrong.
…honGH-140556) Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Kumar Aditya <kumaraditya@python.org>
This adds the initial implementation of PEP-793.
See the issue for follow-up tasks.