STINNER Victor added the comment: I extracted the changes on the PyMODINIT_FUNC macro and I opened the issue #23685. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue11410> _______________________________________