Okay, so looking over it, it's actually build with NDEBUG, and --with-pydebug is not set. Here's some python-config output:
[build@es-compy ~]$ python2.6-config --cflags -I/usr/include/python2.6 -I/usr/include/python2.6 -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC [build@es-compy ~]$ python2.6-config --libs -lpthread -ldl -lutil -lm -lpython2.6
Okay, so looking over it, it's actually build with NDEBUG, and --with-pydebug is not set. Here's some python-config output:
[build@es-compy ~]$ python2.6-config --cflags include/ python2. 6 -I/usr/ include/ python2. 6 -fno-strict- aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_ FORTIFY_ SOURCE= 2 -fexceptions -fstack-protector --param= ssp-buffer- size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC
-I/usr/
[build@es-compy ~]$ python2.6-config --libs
-lpthread -ldl -lutil -lm -lpython2.6