This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Jim Fasarakis-Hilliard, amaury.forgeotdarc, corona10, eric.snow, isoschiz, koubaa, kylotan, lukasz.langa, miss-islington, pconnell, phsilva, python-dev, santoso.wijaya, shihai1991, tlesher, vstinner, ysj.ray
Date 2020-09-08.11:45:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1599565539.77.0.853058726334.issue1635741@roundup.psfhosted.org>
In-reply-to
Content
2020-06-22 16:58: "List of the 58 C extensions using the legacy API (...)"

UPDATE: 56% of Modules/*.c modules are converted (48 on 85).

Since June, 21 extension modules have been converted. There are now 37 remaining extensions which still use PyModule_Create():

$ grep -l  '\<PyModule_Create\> *(' Modules/*.c|wc -l
37

Modules/*.c:

* 48 files use PyModuleDef_Init()
* 37 files use PyModule_Create()
* 9 files are not modules:

Modules/config.c
Modules/getaddrinfo.c
Modules/getbuildinfo.c
Modules/getnameinfo.c
Modules/getpath.c
Modules/main.c
Modules/_math.c
Modules/rotatingtree.c
Modules/tkappinit.c

--

Outside the Modules/ directory, there are 6 modules using PyModule_Create:

$ grep -l  '\<PyModule_Create\> *(' */*.c|grep -v Modules

Objects/unicodeobject.c
PC/_msi.c
PC/msvcrtmodule.c
PC/winreg.c
PC/winsound.c
Python/import.c
Python/marshal.c
Python/_warnings.c
History
Date User Action Args
2020-09-08 11:45:39vstinnersetrecipients: + vstinner, amaury.forgeotdarc, kylotan, tlesher, phsilva, ysj.ray, santoso.wijaya, lukasz.langa, python-dev, eric.snow, pconnell, isoschiz, Jim Fasarakis-Hilliard, corona10, miss-islington, shihai1991, koubaa
2020-09-08 11:45:39vstinnersetmessageid: <1599565539.77.0.853058726334.issue1635741@roundup.psfhosted.org>
2020-09-08 11:45:39vstinnerlinkissue1635741 messages
2020-09-08 11:45:38vstinnercreate