How to find out if the interpreter is a debug build?

llothar llothar at web.de
Fri Aug 31 21:16:57 EDT 2007


How can i find out if a selected python interpreter  (i only know the
path name under which i should start it) is a debug build?  I tried

sys.api_version, sys.platform, sys.version, sys.version_info

and there is no difference between  "python.exe" and "python_d.exe".
I'm pretty sure the information is stored somewhere but i can't find
it. Please help.




More information about the Python-list mailing list