next up previous contents index
Next: info.bindir return Up: The info object: obtaining Previous: info.exe_type return   Contents   Index

info.debug -- returns this binary's debug flag

This returns True if this binary was built with compiler debugging flags, or False if full code optimization was turned on. Debugging builds generally run slower than optimized builds, so release binaries will invariably return False.



Ben Webb 2007-08-03