> - pyconfig.h is > > #ifdef _DEBUG > # define Py_DEBUG > #endif > > > So maybe scons doesn't set _DEBUG in debug mode. > To test simply uncomment the #ifdef _DEBUG: //#ifdef _DEBUG # define Py_DEBUG //#endif and rebuild. Peter