def get_config_vars(*args):
global _CONFIG_VARS<EOL>if _CONFIG_VARS is None:<EOL><INDENT>_CONFIG_VARS = {}<EOL>_CONFIG_VARS['<STR_LIT>'] = _PREFIX<EOL>_CONFIG_VARS['<STR_LIT>'] = _EXEC_PREFIX<EOL>_CONFIG_VARS['<STR_LIT>'] = _PY_VERSION<EOL>_CONFIG_VARS['<STR_LIT>'] = _PY_VERSION_SHORT<EOL>_CONFIG_VARS['<STR_LIT>'] = _PY_VERSION[<NUM_LIT:0>] + _PY_VERSION[<NUM_LIT:2>]<EOL>_CONFIG_VARS['<STR_LIT>'] = _PREFIX<EOL>_CONFIG_VARS['<STR_LIT>'] = _EXEC_PREFIX<EOL>_CONFIG_VARS['<STR_LIT>'] = _PROJECT_BASE<EOL>try:<EOL><INDENT>_CONFIG_VARS['<STR_LIT>'] = sys.abiflags<EOL><DEDENT>except AttributeError:<EOL><INDENT>_CONFIG_VARS['<STR_LIT>'] = '<STR_LIT>'<EOL><DEDENT>if os.name in ('<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>_init_non_posix(_CONFIG_VARS)<EOL><DEDENT>if os.name == '<STR_LIT>':<EOL><INDENT>_init_posix(_CONFIG_VARS)<EOL><DEDENT>if sys.version >= '<STR_LIT>':<EOL><INDENT>_CONFIG_VARS['<STR_LIT>'] = _getuserbase()<EOL><DEDENT>if '<STR_LIT>' not in _CONFIG_VARS:<EOL><INDENT>_CONFIG_VARS['<STR_LIT>'] = _PROJECT_BASE<EOL><DEDENT>else:<EOL><INDENT>_CONFIG_VARS['<STR_LIT>'] = _safe_realpath(_CONFIG_VARS['<STR_LIT>'])<EOL><DEDENT>if _PYTHON_BUILD and os.name == "<STR_LIT>":<EOL><INDENT>base = _PROJECT_BASE<EOL>try:<EOL><INDENT>cwd = os.getcwd()<EOL><DEDENT>except OSError:<EOL><INDENT>cwd = None<EOL><DEDENT>if (not os.path.isabs(_CONFIG_VARS['<STR_LIT>']) and<EOL>base != cwd):<EOL><INDENT>srcdir = os.path.join(base, _CONFIG_VARS['<STR_LIT>'])<EOL>_CONFIG_VARS['<STR_LIT>'] = os.path.normpath(srcdir)<EOL><DEDENT><DEDENT>if sys.platform == '<STR_LIT>':<EOL><INDENT>kernel_version = os.uname()[<NUM_LIT:2>]  <EOL>major_version = int(kernel_version.split('<STR_LIT:.>')[<NUM_LIT:0>])<EOL>if major_version < <NUM_LIT:8>:<EOL><INDENT>for key in ('<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>flags = _CONFIG_VARS[key]<EOL>flags = re.sub('<STR_LIT>', '<STR_LIT:U+0020>', flags)<EOL>flags = re.sub('<STR_LIT>', '<STR_LIT:U+0020>', flags)<EOL>_CONFIG_VARS[key] = flags<EOL><DEDENT><DEDENT>else:<EOL><INDENT>if '<STR_LIT>' in os.environ:<EOL><INDENT>arch = os.environ['<STR_LIT>']<EOL>for key in ('<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>flags = _CONFIG_VARS[key]<EOL>flags = re.sub('<STR_LIT>', '<STR_LIT:U+0020>', flags)<EOL>flags = flags + '<STR_LIT:U+0020>' + arch<EOL>_CONFIG_VARS[key] = flags<EOL><DEDENT><DEDENT>CFLAGS = _CONFIG_VARS.get('<STR_LIT>', '<STR_LIT>')<EOL>m = re.search('<STR_LIT>', CFLAGS)<EOL>if m is not None:<EOL><INDENT>sdk = m.group(<NUM_LIT:1>)<EOL>if not os.path.exists(sdk):<EOL><INDENT>for key in ('<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>flags = _CONFIG_VARS[key]<EOL>flags = re.sub('<STR_LIT>', '<STR_LIT:U+0020>', flags)<EOL>_CONFIG_VARS[key] = flags<EOL><DEDENT><DEDENT><DEDENT><DEDENT><DEDENT><DEDENT>if args:<EOL><INDENT>vals = []<EOL>for name in args:<EOL><INDENT>vals.append(_CONFIG_VARS.get(name))<EOL><DEDENT>return vals<EOL><DEDENT>else:<EOL><INDENT>return _CONFIG_VARS<EOL><DEDENT>
With no arguments, return a dictionary of all configuration
    variables relevant for the current platform.

    On Unix, this means every variable defined in Python's installed Makefile;
    On Windows and Mac OS it's a much smaller set.

    With arguments, return a list of values that result from looking up
    each argument in the configuration variable dictionary.