[issue9709] test_distutils warning: initfunc exported twice on Windows

Stefan Krah report at bugs.python.org
Tue Nov 9 12:10:44 CET 2010

Stefan Krah <stefan-usenet at bytereef.org> added the comment:

This is the history of the issue:

In r16757 the current version of get_export_symbols() was added to
distutils. This function adds /EXPORT initfunc to the command line.

In 27697 PyMODINIT_FUNC was defined as __declspec(dllexport) void.

I'd suggest to remove get_export_symbols(). This would only affect
extensions that do not use PyMODINIT_FUNC, but that can be easily

keywords: +patch
nosy: +loewis, mhammond
Added file: http://bugs.python.org/file19556/initfunc.patch

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list