Check in interpreter if running a debug version of python

John Reid j.reid at mail.cryst.bbk.ac.uk
Tue Jul 27 10:06:52 EDT 2010


Can I check in the interpreter if I am running a debug version of 
python? I don't mean if __debug__ is set, I want to know if python was 
compiled in debug mode.

Thanks,
John.




More information about the Python-list mailing list