Lines Matching defs:sys
11 import sys
28 # It is dropped from sys.modules as soon as all C extension modules
31 sys.modules['subprocess'] = _bootsubprocess
74 # Get value of sys.platform
75 if sys.platform.startswith('osf1'):
77 return sys.platform
517 del sys.modules['subprocess']
634 sys.maxsize > 2**32 and '-arch' in ext.extra_link_args):
656 # started, sys.path_importer_cache has a negative result
658 sys.path_importer_cache.clear()
681 exc_type, why, tb = sys.exc_info()
745 pathsep = (";" if sys.platform == "msys" else ":")
748 if sys.platform == "msys":
860 os.path.normpath(sys.base_prefix) != '/usr' and
1279 # linux/soundcard.h or sys/soundcard.h
1512 # directory, which is not in sys.path when running Python during
1561 fullversion = '-{0[0]}.{0[1]}'.format(sys.version_info)
1562 minoronly = '.{0[1]}'.format(sys.version_info)
1581 if "--list-module-names" in sys.argv:
1583 sys.argv.remove("--list-module-names")
1592 sys.modules['concurrent.futures.process'] = DummyProcess
1600 version = sys.version.split()[0],
1601 url = "https://www.python.org/%d.%d" % sys.version_info[:2],