sys.pydebug

Here are the examples of the python api sys.pydebug taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

3 Source : sysconfig.py
with Apache License 2.0
from sroettger

def get_config_h_filename():
    """Returns the path of pyconfig.h."""
    if _PYTHON_BUILD:
        if os.name == "nt":
            inc_dir = os.path.join(_PROJECT_BASE, "PC")
        else:
            inc_dir = _PROJECT_BASE
    else:
        inc_dir = get_path('platinclude').replace("/usr/local","/usr",1)+(sys.pydebug and "_d" or "")
    return os.path.join(inc_dir, 'pyconfig.h')

def get_scheme_names():