A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2015-October/141852.html below:

[Python-Dev] Issue #25256: Add sys.debug_build?

[Python-Dev] Issue #25256: Add sys.debug_build? [Python-Dev] Issue #25256: Add sys.debug_build?Victor Stinner victor.stinner at gmail.com
Fri Oct 2 14:19:32 CEST 2015
2015-10-02 13:16 GMT+02:00 Nir Soffer <nirsof at gmail.com>:
> Whats wrong with:
>
>>>> sysconfig.get_config_var('Py_DEBUG')
> 0

Again, refer to my first message "On the Internet, I found various
recipes to check if Python is compiled is debug mode. Sadly, some of
them are not portable."

I don't think that sysconfig.get_config_var('Py_DEBUG') will work on
other Python implementations.

On Windows, there is no such file like "Makefile" used to fill
syscofig.get_config_vars() :-( sysconfig._init_non_posix() only fills
a few variables like BINDIR or INCLUDEPY, but not Py_DEBUG.

Victor
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4