Lines Matching defs:sys
6 import sys
29 if sys.platform.startswith("linux"):
40 elif sys.platform.startswith("aix"):
44 elif sys.platform == "darwin":
47 elif sys.platform == "cygwin":
52 elif sys.platform == "vxworks":
82 sys.platform not in ("darwin", "linux") and
91 cmd_fmt += "; import sys; sys.exit(not locale.nl_langinfo(locale.CODESET))"
104 "import sys, os",
105 "print(sys.getfilesystemencoding())",
106 "print(sys.stdin.encoding + ':' + sys.stdin.errors)",
107 "print(sys.stdout.encoding + ':' + sys.stdout.errors)",
108 "print(sys.stderr.encoding + ':' + sys.stderr.errors)",
218 expected_fs_encoding: expected sys.getfilesystemencoding() result
296 fs_encoding: expected sys.getfilesystemencoding() result
423 cmd = subprocess.run([sys.executable, '-c', code],