This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients brian.curtin, eric.araujo, skrah
Date 2010-08-29.17:10:35
SpamBayes Score 1.2498067e-06
Marked as misclassified No
Message-id <>
On Windows, the initfunc of a C extension is exported twice, as
seen here:

xxmodule.obj : warning LNK4197: export 'initxx' specified multiple times; using first specification

First export: pyport.h: #define PyMODINIT_FUNC __declspec(dllexport) void

Second export: Specified on the command line with /EXPORT

The code responsible for adding the initfunc name to ext.export_symbols
is in I'm not sure if it could be
removed, since older extensions might not use PyMODINIT_FUNC.

If it can't be removed, perhaps PyMODINIT_FUNC could be specified
simply as void.
Date User Action Args
2010-08-29 17:10:38skrahsetrecipients: + skrah, eric.araujo, brian.curtin
2010-08-29 17:10:38skrahsetmessageid: <>
2010-08-29 17:10:37skrahlinkissue9709 messages
2010-08-29 17:10:35skrahcreate