[issue6459] distutils.command.build_ext.get_export_symbols should use the "PyInit" prefix rather then "init"

Hirokazu Yamamoto report at bugs.python.org
Sat Jul 11 13:58:11 CEST 2009

Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp> added the comment:

bsddb seems to use #if directive to switch function name. 
("init_bsddb"  on trunk)

#if (PY_VERSION_HEX < 0x03000000)
DL_EXPORT(void) init_bsddb(void)
PyMODINIT_FUNC  PyInit__bsddb(void)    /* Note the two underscores */

And zlibmodule.c, there is following line on line number 56.
#define PyInit_zlib initzlib


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list