Searched refs:supports_fd (Results 1 – 8 of 8) sorted by relevance
/third_party/python/Lib/ |
D | os.py | 145 supports_fd = _set variable 428 if {open, stat} <= supports_dir_fd and {scandir, stat} <= supports_fd:
|
D | shutil.py | 678 os.scandir in os.supports_fd and
|
/third_party/python/Lib/test/ |
D | test_glob.py | 42 if {os.open, os.stat} <= os.supports_dir_fd and os.scandir in os.supports_fd:
|
D | test_posix.py | 185 …@unittest.skipUnless(getattr(os, 'execve', None) in os.supports_fd, "test needs execve() to suppor… 440 @unittest.skipUnless(os.utime in os.supports_fd, "test needs fd support in os.utime") 835 @unittest.skipUnless(posix.listdir in os.supports_fd,
|
D | test_os.py | 836 @unittest.skipUnless(os.utime in os.supports_fd, 942 if os.utime not in os.supports_fd: 4332 @unittest.skipUnless(os.listdir in os.supports_fd, 4335 self.assertIn(os.scandir, os.supports_fd)
|
D | test_shutil.py | 387 os.listdir in os.supports_fd and
|
/third_party/python/Doc/library/ |
D | os.rst | 1645 for a particular function on your platform using :data:`os.supports_fd`. 2947 .. data:: supports_fd 2958 ``supports_fd``. As an example, this expression evaluates to ``True`` if 2962 os.chdir in os.supports_fd 3623 you can check whether or not it is available using :data:`os.supports_fd`.
|
/third_party/python/Doc/whatsnew/ |
D | 3.3.rst | 1617 for this can be checked via the :data:`os.supports_fd` set.
|