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 jkloth
Recipients eric.araujo, jkloth, tarek
Date 2012-12-25.18:38:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The 64-bit linker doesn't mangle the dllexport'ed module init function (from PyMODINIT_FUNC) so it causes an exported name conflict.  We cannot just remove that name from export_symbols as the module may not have used PyMODINIT_FUNC on its init function.

The attached patch "fixes" the problem by suppressing the warning.

I personally would prefer the "pure" approach by assuming that the module initialization function would be required to be declared by PyMODINIT_FUNC and therefore the symbol would not need to be exported on the command line.
Date User Action Args
2012-12-25 18:38:54jklothsetrecipients: + jkloth, tarek, eric.araujo
2012-12-25 18:38:54jklothsetmessageid: <>
2012-12-25 18:38:54jklothlinkissue16779 messages
2012-12-25 18:38:54jklothcreate