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 r-englund
Recipients Joakim.Karlsson, loewis, r-englund
Date 2015-01-08.18:19:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1420741181.98.0.480309853106.issue22411@psf.upfronthosting.co.za>
In-reply-to
Content
I have also had this problem. 
The way I solved it was to undef _DEBUG before including python and then redefine it again:

    #undef _DEBUG //Prevent linking debug build of python
    #include <Python.h>
    #define _DEBUG 1

This is just a hack though and it would be interesting to know if there is a correct way to do it.
History
Date User Action Args
2015-01-08 18:19:42r-englundsetrecipients: + r-englund, loewis, Joakim.Karlsson
2015-01-08 18:19:41r-englundsetmessageid: <1420741181.98.0.480309853106.issue22411@psf.upfronthosting.co.za>
2015-01-08 18:19:41r-englundlinkissue22411 messages
2015-01-08 18:19:41r-englundcreate