Phillip J. Eby wrote:
> Actually, I think Giovanni simply wants to be able to build extension 
> modules with debugging information, *without* needing to use a Py_DEBUG build.
> 
> That is, this is about using debug extensions with a release Python, 
> not the other way 'round.  And if I understand correctly, this could 
> be done by additions to the distutils.

Ah, I see. It's about building an extension with debug symbols but
without a Py_DEBUG build. That's possible with some minor adjustments to
PC/pyconfig.h and PCbuild/debug.vsprops. One has to decouple _DEBUG from
Py_DEBUG. Currently _DEBUG implies Py_DEBUG.

A debug build without Py_DEBUG is semi useful. Bugs and memory leaks are
usually caused by reference counting issues.

Christian

_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to