FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
gh-140550: Initial implementation of PEP 793 – PyModExport by encukou · Pull Request #140556 · python/cpython · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.3k
Star
74.9k
Code
Issues
5k+
Pull requests
2.6k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
gh-140550: Initial implementation of PEP 793 – PyModExport
- #140556
#140556
Merged
encukou
merged 87 commits into
python:main
python/cpython:main
from
encukou:modexport-rebased
encukou/cpython:modexport-rebased
Copy head branch name to clipboard
Nov 5, 2025
Conversation
Commits
87
(87)
Checks
Files changed
Merged
gh-140550: Initial implementation of PEP 793 – PyModExport
#140556
encukou
merged 87 commits into
python:main
python/cpython:main
from
encukou:modexport-rebased
encukou/cpython:modexport-rebased
Copy head branch name to clipboard
Commits
Commits on Oct 24, 2025
Define PyMODEXPORT_FUNC
encukou
committed
4ad95be
View commit details
Copy full SHA for 4ad95be
Browse repository at this point
Add new state to module object
encukou
committed
c53650d
View commit details
Copy full SHA for c53650d
Browse repository at this point
Make sure the module def matches the state
encukou
committed
9564e20
View commit details
Copy full SHA for 9564e20
Browse repository at this point
Add simple test case
encukou
committed
05a87c3
View commit details
Copy full SHA for 05a87c3
Browse repository at this point
Add new slot definitions
encukou
committed
57c4f1e
View commit details
Copy full SHA for 57c4f1e
Browse repository at this point
Modules are bigger sue me
encukou
committed
956c59a
View commit details
Copy full SHA for 956c59a
Browse repository at this point
Add a test for PyModule_FromSlotsAndSpec
encukou
committed
14a66d2
View commit details
Copy full SHA for 14a66d2
Browse repository at this point
Add PyModule_FromSlotsAndSpec (empty for now)
encukou
committed
72a27f5
View commit details
Copy full SHA for 72a27f5
Browse repository at this point
Add module test
encukou
committed
b54293b
View commit details
Copy full SHA for b54293b
Browse repository at this point
Fill in enough of a PyModuleDef to pass to common machinery
encukou
committed
fcc68f8
View commit details
Copy full SHA for fcc68f8
Browse repository at this point
Pass in a spec
encukou
committed
3ab607e
View commit details
Copy full SHA for 3ab607e
Browse repository at this point
Rename field which can now be NULL
encukou
committed
35d7d51
View commit details
Copy full SHA for 35d7d51
Browse repository at this point
Common implementation for PyModule_From{Def,Slots}AndSpec
Show description for 6fbbc18
encukou
committed
6fbbc18
View commit details
Copy full SHA for 6fbbc18
Browse repository at this point
Add test for Py_mod_name slot
encukou
committed
7207e07
View commit details
Copy full SHA for 7207e07
Browse repository at this point
Handle Py_mod_name
encukou
committed
8d4d264
View commit details
Copy full SHA for 8d4d264
Browse repository at this point
Test repeated slot
encukou
committed
bd61e5b
View commit details
Copy full SHA for bd61e5b
Browse repository at this point
Test Py_mod_name with a def
encukou
committed
d638abf
View commit details
Copy full SHA for d638abf
Browse repository at this point
Py_mod_doc
encukou
committed
b24e6a6
View commit details
Copy full SHA for b24e6a6
Browse repository at this point
Disallow NULL slot value
encukou
committed
756cbff
View commit details
Copy full SHA for 756cbff
Browse repository at this point
Test repeats and NULL for all new slots
encukou
committed
320de14
View commit details
Copy full SHA for 320de14
Browse repository at this point
Add PyModule_GetSize
encukou
committed
4d88cf3
View commit details
Copy full SHA for 4d88cf3
Browse repository at this point
Test size
encukou
committed
a1d3c15
View commit details
Copy full SHA for a1d3c15
Browse repository at this point
Handle size
encukou
committed
7fcee67
View commit details
Copy full SHA for 7fcee67
Browse repository at this point
Test new slots with PyModuleDef
encukou
committed
9fd1e7e
View commit details
Copy full SHA for 9fd1e7e
Browse repository at this point
Py_mod_methods
encukou
committed
fd95984
View commit details
Copy full SHA for fd95984
Browse repository at this point
GC hooks
encukou
committed
748e18f
View commit details
Copy full SHA for 748e18f
Browse repository at this point
Py_mod_token
encukou
committed
1101f55
View commit details
Copy full SHA for 1101f55
Browse repository at this point
Py_mod_exec
encukou
committed
488eae7
View commit details
Copy full SHA for 488eae7
Browse repository at this point
Clean up slot-handling a bit
encukou
committed
f9d0dde
View commit details
Copy full SHA for f9d0dde
Browse repository at this point
Py_mod_create
encukou
committed
020dcc6
View commit details
Copy full SHA for 020dcc6
Browse repository at this point
Use PyModule_Exec in exec_builtin_or_dynamic
encukou
committed
cf7409e
View commit details
Copy full SHA for cf7409e
Browse repository at this point
PyModExport
encukou
committed
d1673de
View commit details
Copy full SHA for d1673de
Browse repository at this point
_PyModule_IsExtension: Check md_exec
encukou
committed
c3dd935
View commit details
Copy full SHA for c3dd935
Browse repository at this point
Small style/doc fixups
encukou
committed
1de2c50
View commit details
Copy full SHA for 1de2c50
Browse repository at this point
Handle NULL slots & bad spec; some light refactoring
encukou
committed
e486cdc
View commit details
Copy full SHA for e486cdc
Browse repository at this point
Allow non-Module instances
encukou
committed
31a5cc5
View commit details
Copy full SHA for 31a5cc5
Browse repository at this point
Tests for the export hook
encukou
committed
3dcadbb
View commit details
Copy full SHA for 3dcadbb
Browse repository at this point
`state_` in slot names
encukou
committed
bd1c352
View commit details
Copy full SHA for bd1c352
Browse repository at this point
Test PyModule_Exec with PyModuleDef-defined module
encukou
committed
56525fa
View commit details
Copy full SHA for 56525fa
Browse repository at this point
Test PyModule_GetToken, token setting, and default tokens
encukou
committed
4b93132
View commit details
Copy full SHA for 4b93132
Browse repository at this point
Add PyType_GetModuleByToken
encukou
committed
bb2dd7d
View commit details
Copy full SHA for bb2dd7d
Browse repository at this point
Fix refcounting
encukou
committed
36cc311
View commit details
Copy full SHA for 36cc311
Browse repository at this point
Rename and test PyModule_GetStateSize
encukou
committed
37905ae
View commit details
Copy full SHA for 37905ae
Browse repository at this point
Rename new internal module members
encukou
committed
1df228a
View commit details
Copy full SHA for 1df228a
Browse repository at this point
Share storage between def and token
encukou
committed
71e043f
View commit details
Copy full SHA for 71e043f
Browse repository at this point
Lose the spec argument
encukou
committed
dd3c25f
View commit details
Copy full SHA for dd3c25f
Browse repository at this point
Put `const` in signatures
encukou
committed
391281d
View commit details
Copy full SHA for 391281d
Browse repository at this point
test_cext: Remove the 'create_moduledef.c' workaround
encukou
committed
058e0db
View commit details
Copy full SHA for 058e0db
Browse repository at this point
Make helpers static
encukou
committed
e6ff4b9
View commit details
Copy full SHA for e6ff4b9
Browse repository at this point
Add comment to assertion
encukou
committed
b651cef
View commit details
Copy full SHA for b651cef
Browse repository at this point
Mark test PyModuleDefs as GIL-friendly
encukou
committed
4d4c6b7
View commit details
Copy full SHA for 4d4c6b7
Browse repository at this point
Add vcxproj entries for test files
encukou
committed
54c496e
View commit details
Copy full SHA for 54c496e
Browse repository at this point
Commits on Oct 26, 2025
Add to Limited API
encukou
committed
fdc49ed
View commit details
Copy full SHA for fdc49ed
Browse repository at this point
gh-140633: AppleFrameworkLoader: Ignore AttributeError when setting __file__
encukou
committed
dab2207
View commit details
Copy full SHA for dab2207
Browse repository at this point
test_cext: Define PyInit_* function which asserts that it wasn't called
encukou
committed
4f7bccb
View commit details
Copy full SHA for 4f7bccb
Browse repository at this point
Add a blurb
encukou
committed
628942c
View commit details
Copy full SHA for 628942c
Browse repository at this point
Commits on Oct 27, 2025
Make tokens `const` to pass check for C globals
encukou
committed
08ee616
View commit details
Copy full SHA for 08ee616
Browse repository at this point
One more cast
encukou
committed
ffe3322
View commit details
Copy full SHA for ffe3322
Browse repository at this point
test_import: Move modexport tests to their own class
encukou
committed
0855bdd
View commit details
Copy full SHA for 0855bdd
Browse repository at this point
Merge in the main branch
encukou
committed
0af8cae
View commit details
Copy full SHA for 0af8cae
Browse repository at this point
Remove redundant comment
encukou
committed
895a046
View commit details
Copy full SHA for 895a046
Browse repository at this point
Commits on Oct 28, 2025
Rename _PyImport_GetModInitFunc2 to _PyImport_GetModuleExportHooks
encukou
committed
25fe913
View commit details
Copy full SHA for 25fe913
Browse repository at this point
Merge in the main branch
encukou
committed
1939ad2
View commit details
Copy full SHA for 1939ad2
Browse repository at this point
Merge in the main branch
encukou
committed
821a2b2
View commit details
Copy full SHA for 821a2b2
Browse repository at this point
Update outdated comment
encukou
committed
ab04b28
View commit details
Copy full SHA for ab04b28
Browse repository at this point
Add a _PyModule_CAST macro
encukou
committed
d9013b1
View commit details
Copy full SHA for d9013b1
Browse repository at this point
Better argument naming in headers
encukou
committed
788835e
View commit details
Copy full SHA for 788835e
Browse repository at this point
Move comment to top
encukou
committed
fde9850
View commit details
Copy full SHA for fde9850
Browse repository at this point
'noop', not 'trivial
encukou
committed
0465b0d
View commit details
Copy full SHA for 0465b0d
Browse repository at this point
PyLong_AsInt
encukou
committed
268840a
View commit details
Copy full SHA for 268840a
Browse repository at this point
Add spaces inside curly braces
encukou
committed
3e13677
View commit details
Copy full SHA for 3e13677
Browse repository at this point
PyErr_FormatUnraisable, not PyErr_WriteUnraisable
encukou
committed
fdff39b
View commit details
Copy full SHA for fdff39b
Browse repository at this point
Use NDEBUG
encukou
committed
7c29575
View commit details
Copy full SHA for 7c29575
Browse repository at this point
Wrap in do-while
encukou
committed
b163b28
View commit details
Copy full SHA for b163b28
Browse repository at this point
PyErr_SetString instead of PyErr_Format
encukou
committed
6ddcb01
View commit details
Copy full SHA for 6ddcb01
Browse repository at this point
Repr in error messages
encukou
committed
2013284
View commit details
Copy full SHA for 2013284
Browse repository at this point
PEP 7 whitespace
encukou
committed
52af397
View commit details
Copy full SHA for 52af397
Browse repository at this point
Make sure Victor's edits are credited
Show description for 01d52ba
encukou
and
vstinner
committed
01d52ba
View commit details
Copy full SHA for 01d52ba
Browse repository at this point
Commits on Oct 29, 2025
Correct logic
encukou
committed
ba6e602
View commit details
Copy full SHA for ba6e602
Browse repository at this point
Merge in the main branch
encukou
committed
d26e9b7
View commit details
Copy full SHA for d26e9b7
Browse repository at this point
Commits on Nov 3, 2025
Get the spaces just right
Show description for 26b57f2
encukou
and
kumaraditya303
authored
26b57f2
View commit details
Copy full SHA for 26b57f2
Browse repository at this point
Merge branch 'main' into modexport-rebased
encukou
authored
66e8309
View commit details
Copy full SHA for 66e8309
Browse repository at this point
_PyModule_GetDefOrNull never raises
encukou
committed
928f23b
View commit details
Copy full SHA for 928f23b
Browse repository at this point
Commits on Nov 4, 2025
Merge in the main branch
encukou
committed
4f3712f
View commit details
Copy full SHA for 4f3712f
Browse repository at this point
Remove _PyModule_GetGCHooks; get the hooks directly via internal API
encukou
committed
55ae793
View commit details
Copy full SHA for 55ae793
Browse repository at this point
Style fixes
vstinner
authored and
encukou
committed
1e6b18c
View commit details
Copy full SHA for 1e6b18c
Browse repository at this point
Remove unused variables
encukou
committed
4d58846
View commit details
Copy full SHA for 4d58846
Browse repository at this point
Back
|
FazBrowse Home
|
New Git URL