Searched refs:_os (Results 1 – 4 of 4) sorted by relevance
32 import os as _os namespace64 _text_openflags = _os.O_RDWR | _os.O_CREAT | _os.O_EXCL65 if hasattr(_os, 'O_NOINHERIT'):66 _text_openflags |= _os.O_NOINHERIT67 if hasattr(_os, 'O_NOFOLLOW'):68 _text_openflags |= _os.O_NOFOLLOW71 if hasattr(_os, 'O_BINARY'):72 _bin_openflags |= _os.O_BINARY74 if hasattr(_os, 'TMP_MAX'):75 TMP_MAX = _os.TMP_MAX[all …]
24 import os as _os namespace44 _os = _os # for _commit() variable in _Database55 self._dirfile = filebasename + _os.extsep + 'dir'61 self._datfile = filebasename + _os.extsep + 'dat'62 self._bakfile = filebasename + _os.extsep + 'bak'101 self._os.unlink(self._bakfile)102 except self._os.error:106 self._os.rename(self._dirfile, self._bakfile)107 except self._os.error:221 if hasattr(self._os, 'chmod'):[all …]
87 import os as _os namespace163 width = int(_os.environ['COLUMNS'])1573 prog = _os.path.basename(_sys.argv[0])
87 import os as _os namespace163 width = int(_os.environ['COLUMNS'])1586 prog = _os.path.basename(_sys.argv[0])