++ integration
Subject: Re: [C++-sig] Extending python and using debug interpreter on
Linux
Brian O'Kennedy wrote:
> After diving deeper into boost.python and python than I felt
comfortable
> with, I found my own stupid mistake.
>
> On Windows, the presence of _DEBUG causes Py_DEBUG t
Brian O'Kennedy wrote:
After diving deeper into boost.python and python than I felt comfortable
with, I found my own stupid mistake.
On Windows, the presence of _DEBUG causes Py_DEBUG to be defined, but
this is not the case on Linux. When I include boost/python.hpp I need to
define both BOOST_
[email protected]] On
Behalf Of Brian O'Kennedy
Sent: 21 April 2009 16:12
To: [email protected]
Subject: [C++-sig] Extending python and using debug interpreter on Linux
Hi,
I've built a local copy of Python with PY_DEBUG enabled and tried import
a simple module wh
Hi,
I've built a local copy of Python with PY_DEBUG enabled and tried import
a simple module which only defs a single c++ function returning a
std::string. My test involves importing the module, and then quitting
the interpreter; I'm not trying to call anything in the module.
This works as exp