[issue25256] Add sys.debug_build public variable to check if Python was compiled in debug mode

STINNER Victor report at bugs.python.org
Fri Oct 2 00:27:05 CEST 2015


STINNER Victor added the comment:

FYI the sys module has 5 more symbols when CPython is compiled in debug mode:

* getobjects()
* gettotalrefcount()
* last_traceback, last_type, last_value

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25256>
_______________________________________


More information about the Python-bugs-list mailing list