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 steve.dower
Recipients Joakim.Karlsson, loewis, r-englund, steve.dower, tim.golden, zach.ware
Date 2015-01-09.16:47:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1420822038.58.0.917776667277.issue22411@psf.upfronthosting.co.za>
In-reply-to
Content
Yeah, unfortunately the only correct way to do this is to use a debug build of Python. It isn't that difficult to build, but it is extra work and may not be an option at all depending on context (for example, some businesses won't let employees access source code to open-source projects).

If you link against python3.dll rather than python34.dll (there's a pre-processor variable to set, but I don't remember it off the top of my head) then you should avoid most of the debug/non-debug issues. I think you'll still need the #undef _DEBUG code though, and you'll lose access to some functionality, so it may not be an appropriate solution for you.

I don't think there's any good fix for this for 3.4, short of someone building and releasing a debug build from the same changeset as the actual release. For 3.5 I may be able to add an installer option to install debug binaries alongside the release ones. I'll put some thought into it and try some things out.
History
Date User Action Args
2015-01-09 16:47:18steve.dowersetrecipients: + steve.dower, loewis, tim.golden, zach.ware, Joakim.Karlsson, r-englund
2015-01-09 16:47:18steve.dowersetmessageid: <1420822038.58.0.917776667277.issue22411@psf.upfronthosting.co.za>
2015-01-09 16:47:18steve.dowerlinkissue22411 messages
2015-01-09 16:47:18steve.dowercreate