Simple way of turning -DNDEBUG off in distutils

Rick Muller rick_muller at
Thu Jan 22 20:41:18 CET 2004

Is there a simple way of toggling the -DNDEBUG flag in the distutils
builds? I just realized that all of my assert statements were being
skipped because by default the distutils put in -DNDEBUG.

Thanks in advance,


More information about the Python-list mailing list