cpython/Lib/pathlib
Barney Gale 68a51e0178
GH-125413: pathlib ABCs: use scandir() to speed up glob() (#126261)
Use the new `PathBase.scandir()` method in `PathBase.glob()`, which greatly
reduces the number of `PathBase.stat()` calls needed when globbing.

There are no user-facing changes, because the pathlib ABCs are still
private and `Path.glob()` doesn't use the implementation in its superclass.
2024-11-01 17:48:58 +00:00
..
__init__.py GH-73991: Rework pathlib.Path.copytree() into copy() (#122369) 2024-08-11 22:43:18 +01:00
_abc.py GH-125413: pathlib ABCs: use scandir() to speed up glob() (#126261) 2024-11-01 17:48:58 +00:00
_local.py GH-125413: Add pathlib.Path.scandir() method (#126060) 2024-11-01 01:19:01 +00:00
_os.py GH-122890: Fix low-level error handling in pathlib.Path.copy() (#122897) 2024-08-24 15:11:39 +01:00