Lines Matching defs:sys
50 import sys
78 _can_fork_exec = sys.platform not in {"emscripten", "wasi"}
272 res = inst._internal_poll(_deadstate=sys.maxsize)
292 optimization settings in sys.flags."""
294 value = sys.flags.optimize
302 settings in sys.flags, sys.warnoptions and sys._xoptions."""
316 v = getattr(sys.flags, flag)
320 if sys.flags.isolated:
323 if sys.flags.ignore_environment:
325 if sys.flags.no_user_site:
327 if sys.flags.safe_path:
331 warnopts = sys.warnoptions[:]
332 xoptions = getattr(sys, '_xoptions', {})
333 bytes_warning = sys.flags.bytes_warning
334 dev_mode = sys.flags.dev_mode
363 # sys.flags.warn_default_encoding is true.
364 if sys.flags.warn_default_encoding:
365 f = sys._getframe()
375 if sys.flags.utf8_mode:
712 if sys.platform in ('darwin', 'sunos5'):
728 if sys.platform == 'linux' and libc == 'glibc' and version >= (2, 24):
819 errno.ENOTSUP, f"{sys.platform} does not support processes."
1120 def __del__(self, _maxsize=sys.maxsize, _warn=warnings.warn):
1534 sys.audit("subprocess.Popen", executable, args, cwd, env)
1736 errwrite = sys.__stdout__.fileno()
1813 hasattr(sys, 'getandroidapilevel') else '/bin/sh')
1821 sys.audit("subprocess.Popen", executable, args, cwd, env)
1920 self.returncode = sys.maxsize