Lines Matching defs:sys

8 import sys
45 _USE_CP_SENDFILE = hasattr(os, "sendfile") and sys.platform.startswith("linux")
138 if sys.maxsize < 2 ** 32:
233 sys.audit("shutil.copyfile", src, dst)
298 sys.audit("shutil.copymode", src, dst)
351 sys.audit("shutil.copystat", src, dst)
558 sys.audit("shutil.copytree", src, dst)
603 onerror(os.scandir, path, sys.exc_info())
615 onerror(os.path.islink, fullname, sys.exc_info())
622 onerror(os.unlink, fullname, sys.exc_info())
626 onerror(os.rmdir, path, sys.exc_info())
635 onerror(os.scandir, path, sys.exc_info())
649 onerror(os.lstat, fullname, sys.exc_info())
656 onerror(os.open, fullname, sys.exc_info())
666 onerror(os.rmdir, fullname, sys.exc_info())
675 onerror(os.path.islink, fullname, sys.exc_info())
683 onerror(os.unlink, fullname, sys.exc_info())
702 exc_info is a tuple returned by sys.exc_info(). If ignore_errors
706 sys.audit("shutil.rmtree", path, dir_fd)
722 onerror(os.lstat, path, sys.exc_info())
728 onerror(os.open, path, sys.exc_info())
738 onerror(os.rmdir, path, sys.exc_info())
744 onerror(os.path.islink, path, sys.exc_info())
756 onerror(os.path.islink, path, sys.exc_info())
809 sys.audit("shutil.move", src, dst)
837 and sys.platform == 'darwin')):
1101 sys.audit("shutil.make_archive", base_name, format, root_dir, base_dir)
1295 sys.audit("shutil.unpack_archive", filename, extract_dir, format)
1368 sys.audit('shutil.chown', path, user, group)
1402 the terminal connected to sys.__stdout__ is queried
1427 size = os.get_terminal_size(sys.__stdout__.fileno())
1490 if sys.platform == "win32":