[issue23685] Fix usage of PyMODINIT_FUNC

Steve Dower report at bugs.python.org
Tue Mar 17 16:51:55 CET 2015


Steve Dower added the comment:

Just had a look in Include/pyport.h and we're already defining PyMODINIT_FUNC differently for building core, so all your changes should be fine. The redefinition you removed from pyexpat.c was clearly never meant to be used for builtin modules.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23685>
_______________________________________


More information about the Python-bugs-list mailing list