Searched refs:supports_fd (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython3/Lib/ |
D | os.py | 141 supports_fd = _set variable 420 if {open, stat} <= supports_dir_fd and {scandir, stat} <= supports_fd:
|
D | shutil.py | 453 os.scandir in os.supports_fd and
|
/external/python/cpython3/Lib/test/ |
D | test_posix.py | 179 …@unittest.skipUnless(getattr(os, 'execve', None) in os.supports_fd, "test needs execve() to suppor… 425 @unittest.skipUnless(os.utime in os.supports_fd, "test needs fd support in os.utime") 811 @unittest.skipUnless(posix.listdir in os.supports_fd,
|
D | test_os.py | 547 @unittest.skipUnless(os.utime in os.supports_fd, 653 if os.utime not in os.supports_fd: 3593 @unittest.skipUnless(os.listdir in os.supports_fd, 3596 self.assertIn(os.scandir, os.supports_fd)
|
D | test_shutil.py | 590 os.listdir in os.supports_fd and
|
/external/python/cpython3/Doc/library/ |
D | os.rst | 1462 your platform using :data:`os.supports_fd`. If it is unavailable, using it 2650 .. data:: supports_fd 2662 ``supports_fd``. As an example, this expression determines whether 2666 os.chdir in os.supports_fd 3130 you can check whether or not it is available using :data:`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.
|