STINNER Victor <vstin...@python.org> added the comment:
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 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue1635741> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com