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, christian.heimes, corona10, eric.snow, erlendaasland, isoschiz, koubaa, kylotan, lukasz.langa, miss-islington, orsenthil, pconnell, petr.viktorin, phsilva, python-dev, santoso.wijaya, serhiy.storchaka, shihai1991, tlesher, vstinner, ysj.ray
Date 2020-12-27.11:43:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609069434.91.0.547822430679.issue1635741@roundup.psfhosted.org>
In-reply-to
Content
Progress: 77% (102/132) of extension modules use the new C API.

I used different grep commands to count *all* extension modules, not only the Modules/ directory:

$ grep -E '\<PyModule_Create\>' $(find -name "*.c"|grep -v Doc/|grep -v moduleobject.c)|wc -l
30
$ grep -E '\<PyModuleDef_Init\>' $(find -name "*.c"|grep -v Doc/|grep -v moduleobject.c)|wc -l
102

--

Modules/ directory: 79% (94/119) of extension modules use the new API.

$ grep -E '\<PyModule_Create\>' $(find Modules -name "*.c")|wc -l
25
$ grep -E '\<PyModuleDef_Init\>' $(find Modules -name "*.c")|wc -l
94
History
Date User Action Args
2020-12-27 11:43:54vstinnersetrecipients: + vstinner, amaury.forgeotdarc, orsenthil, kylotan, christian.heimes, tlesher, phsilva, petr.viktorin, ysj.ray, santoso.wijaya, lukasz.langa, python-dev, eric.snow, serhiy.storchaka, pconnell, isoschiz, Jim Fasarakis-Hilliard, corona10, miss-islington, shihai1991, erlendaasland, koubaa
2020-12-27 11:43:54vstinnersetmessageid: <1609069434.91.0.547822430679.issue1635741@roundup.psfhosted.org>
2020-12-27 11:43:54vstinnerlinkissue1635741 messages
2020-12-27 11:43:54vstinnercreate