Home
last modified time | relevance | path

Searched refs:_config_vars (Results 1 – 12 of 12) sorted by relevance

/third_party/python/Lib/
D_osx_support.py136 def _remove_original_values(_config_vars): argument
139 for k in list(_config_vars):
141 del _config_vars[k]
143 def _save_modified_value(_config_vars, cv, newvalue): argument
146 oldvalue = _config_vars.get(cv, '')
147 if (oldvalue != newvalue) and (_INITPRE + cv not in _config_vars):
148 _config_vars[_INITPRE + cv] = oldvalue
149 _config_vars[cv] = newvalue
198 def _find_appropriate_compiler(_config_vars): argument
216 return _config_vars
[all …]
/third_party/python/Lib/distutils/
Dsysconfig.py53 _config_vars = get_config_vars() variable
71 _init_posix = partial(sysconfig_init_posix, _config_vars)
72 _init_nt = partial(_init_non_posix, _config_vars)
214 if not _config_vars.get('CUSTOMIZED_OSX_COMPILER'):
216 _osx_support.customize_compiler(_config_vars)
217 _config_vars['CUSTOMIZED_OSX_COMPILER'] = 'True'
/third_party/python/Lib/distutils/tests/
Dtest_util.py32 self._config_vars = copy(sysconfig._config_vars)
57 sysconfig._config_vars.clear()
58 sysconfig._config_vars.update(self._config_vars)
Dtest_build_ext.py38 self.old_config_vars = dict(sysconfig._config_vars)
52 sysconfig._config_vars.clear()
53 sysconfig._config_vars.update(self.old_config_vars)
124 from distutils.sysconfig import _config_vars
125 old_var = _config_vars.get('Py_ENABLE_SHARED')
126 _config_vars['Py_ENABLE_SHARED'] = 1
132 del _config_vars['Py_ENABLE_SHARED']
134 _config_vars['Py_ENABLE_SHARED'] = old_var
Dtest_unixccompiler.py15 self._backup_config_vars = dict(sysconfig._config_vars)
24 sysconfig._config_vars.clear()
25 sysconfig._config_vars.update(self._backup_config_vars)
Dtest_build_scripts.py97 sysconfig._config_vars['VERSION'] = 4
102 sysconfig._config_vars['VERSION'] = old
Dtest_install.py34 self._backup_config_vars = dict(sysconfig._config_vars)
38 sysconfig._config_vars.clear()
39 sysconfig._config_vars.update(self._backup_config_vars)
Dtest_sysconfig.py106 cm.enter_context(swap_item(sysconfig._config_vars, key, value))
/third_party/python/Lib/test/
Dtest_sysconfig.py46 self._config_vars = sysconfig._CONFIG_VARS, copy(sysconfig._CONFIG_VARS)
69 sysconfig._CONFIG_VARS = self._config_vars[0]
71 sysconfig._CONFIG_VARS.update(self._config_vars[1])
/third_party/python/patches/
Dcpython_mingw_v3.10.2.patch1097 _init_posix = partial(sysconfig_init_posix, _config_vars)
1098 -_init_nt = partial(_init_non_posix, _config_vars)
1114 + return _init_posix(_config_vars)
1115 + return _init_non_posix(_config_vars)
1124 + global _config_vars
1131 + _config_vars['CC'] = "gcc"
1132 + _config_vars['CXX'] = "g++"
1133 + _config_vars['OPT'] = "-fwrapv -O3 -Wall -Wstrict-prototypes"
1134 + _config_vars['CFLAGS'] = ""
1135 + _config_vars['CCSHARED'] = ""
[all …]
/third_party/python/Misc/NEWS.d/
D3.5.0a1.rst4580 possible uninitialized _config_vars.
/third_party/python/Misc/
DHISTORY1679 due to possible uninitialized _config_vars.