STINNER Victor added the comment:

Updated patch:

* replace sys.is_debug_build() function with sys.debug_build variable
* use also sys.debug_build in test_regrtest.py
* remove the paragraph on how the debug module can be enabled when compiling 
CPython: it's too specific to CPython, and not really interesting in the (sys) 
library doc.
* mention the new function in What's New in Python 3.6

----------
title: Add sys.is_debug_build() public function to check if Python was compiled 
in debug mode -> Add sys.debug_build public variable to check if Python was 
compiled in debug mode
Added file: http://bugs.python.org/file40633/debug_build-2.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25256>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to