mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-140550: Initial implementation of PEP 793 – PyModExport (GH-140556)
Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Kumar Aditya <kumaraditya@python.org>
This commit is contained in:
parent
f2bce51b98
commit
589a03a8ce
32 changed files with 1494 additions and 236 deletions
|
|
@ -1725,9 +1725,10 @@ def get_gen(): yield 1
|
|||
check(int(PyLong_BASE**2), vsize('') + 3*self.longdigit)
|
||||
# module
|
||||
if support.Py_GIL_DISABLED:
|
||||
check(unittest, size('PPPPPP'))
|
||||
md_gil = 'P'
|
||||
else:
|
||||
check(unittest, size('PPPPP'))
|
||||
md_gil = ''
|
||||
check(unittest, size('PPPP?' + md_gil + 'NPPPPP'))
|
||||
# None
|
||||
check(None, size(''))
|
||||
# NotImplementedType
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue