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 santoso.wijaya
Recipients brian.curtin, eric.araujo, loewis, mhammond, santoso.wijaya, skrah, tarek, thorsten.behrens
Date 2011-04-04.23:52:36
SpamBayes Score 0.0031142235
Marked as misclassified No
Message-id <>
A workaround would be to define an arbitrary macro when building with distutils. For example, in setup.cfg:

    define = _DISTUTILS

Then in some main header file(s) in your project:

    #ifdef _DISTUTILS
    #undef PyMODINIT_FUNC
    #define PyMODINIT_FUNC void

And you won't get the warning anymore.
Date User Action Args
2011-04-04 23:52:37santoso.wijayasetrecipients: + santoso.wijaya, loewis, mhammond, tarek, eric.araujo, brian.curtin, skrah, thorsten.behrens
2011-04-04 23:52:37santoso.wijayasetmessageid: <>
2011-04-04 23:52:36santoso.wijayalinkissue9709 messages
2011-04-04 23:52:36santoso.wijayacreate