Searched refs:supports_fd (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Lib/ |
D | os.py | 145 supports_fd = _set variable 428 if {open, stat} <= supports_dir_fd and {scandir, stat} <= supports_fd:
|
D | shutil.py | 679 os.scandir in os.supports_fd and
|
/external/python/cpython3/Lib/test/ |
D | test_posix.py | 182 …@unittest.skipUnless(getattr(os, 'execve', None) in os.supports_fd, "test needs execve() to suppor… 437 @unittest.skipUnless(os.utime in os.supports_fd, "test needs fd support in os.utime") 814 @unittest.skipUnless(posix.listdir in os.supports_fd,
|
D | test_os.py | 696 @unittest.skipUnless(os.utime in os.supports_fd, 802 if os.utime not in os.supports_fd: 4077 @unittest.skipUnless(os.listdir in os.supports_fd, 4080 self.assertIn(os.scandir, os.supports_fd)
|
D | test_shutil.py | 382 os.listdir in os.supports_fd and
|
/external/python/cpython3/Doc/library/ |
D | os.rst | 1512 for a particular function on your platform using :data:`os.supports_fd`. 2813 .. data:: supports_fd 2824 ``supports_fd``. As an example, this expression evaluates to ``True`` if 2828 os.chdir in os.supports_fd 3393 you can check whether or not it is available using :data:`os.supports_fd`.
|
/external/python/pyfakefs/pyfakefs/tests/ |
D | fake_os_test.py | 126 if os.listdir not in os.supports_fd: 462 if os.lstat not in os.supports_fd: 3814 if os.utime not in os.supports_fd:
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.3.rst | 1617 for this can be checked via the :data:`os.supports_fd` set.
|