Searched refs:Py_IgnoreEnvironmentFlag (Results 1 – 8 of 8) sorted by relevance
17 PyAPI_DATA(int) Py_IgnoreEnvironmentFlag;32 #define Py_GETENV(s) (Py_IgnoreEnvironmentFlag ? NULL : getenv(s))
706 Py_IgnoreEnvironmentFlag = 0; in test_init_compat_env()742 Py_IgnoreEnvironmentFlag = 0; in test_init_env_dev_mode()754 Py_IgnoreEnvironmentFlag = 0; in test_init_env_dev_mode_alloc()899 Py_IgnoreEnvironmentFlag = 0; in set_all_global_config_variables()976 Py_IgnoreEnvironmentFlag = 1; in check_init_python_config()1091 Py_IgnoreEnvironmentFlag = 0; in test_open_code_hook()1154 Py_IgnoreEnvironmentFlag = 0; in _test_audit()1210 Py_IgnoreEnvironmentFlag = 0; in test_audit_subinterpreter()1257 Py_IgnoreEnvironmentFlag = 0; in test_audit_run_command()1268 Py_IgnoreEnvironmentFlag = 0; in test_audit_run_file()
490 COPY_NOT_FLAG(use_environment, Py_IgnoreEnvironmentFlag); in preconfig_get_global_vars()516 COPY_NOT_FLAG(use_environment, Py_IgnoreEnvironmentFlag); in preconfig_set_global_vars()
165 int Py_IgnoreEnvironmentFlag = 0; /* e.g. PYTHONPATH, PYTHONHOME */ variable224 SET_ITEM_INT(Py_IgnoreEnvironmentFlag); in _Py_GetGlobalVariablesAsDict()1409 COPY_NOT_FLAG(use_environment, Py_IgnoreEnvironmentFlag); in config_get_global_vars()1446 COPY_NOT_FLAG(use_environment, Py_IgnoreEnvironmentFlag); in config_set_global_vars()
782 if (!Py_IgnoreEnvironmentFlag) { in calculate_module_search_path()
169 command line (i.e. if ``Py_IgnoreEnvironmentFlag`` is set).
123 .. c:var:: int Py_IgnoreEnvironmentFlag
2529 this behavior is unwanted, set :c:data:`Py_IgnoreEnvironmentFlag` to 1 before