cpython/Misc/NEWS.d/next
Barney Gale a74f117dab
GH-115060: Speed up `pathlib.Path.glob()` by omitting initial `stat()` (#117831)
Since 6258844c, paths that might not exist can be fed into pathlib's
globbing implementation, which will call `os.scandir()` / `os.lstat()` only
when strictly necessary. This allows us to drop an initial `self.is_dir()`
call, which saves a `stat()`.

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2024-04-14 00:08:03 +01:00
..
Build Python 3.13.0a6 2024-04-09 11:56:22 +02:00
C API Merge branch 'main' of https://github.com/python/cpython 2024-04-09 20:42:07 +02:00
Core and Builtins gh-117431: Adapt bytes and bytearray .find() and friends to Argument Clinic (#117502) 2024-04-12 07:40:55 +00:00
Documentation Python 3.13.0a6 2024-04-09 11:56:22 +02:00
IDLE Python 3.13.0a5 2024-03-12 21:11:08 +01:00
Library GH-115060: Speed up `pathlib.Path.glob()` by omitting initial `stat()` (#117831) 2024-04-14 00:08:03 +01:00
Security gh-117233: Detect support for several hashes at hashlib build time (GH-117234) 2024-04-11 16:49:41 +02:00
Tests Python 3.13.0a6 2024-04-09 11:56:22 +02:00
Tools-Demos Python 3.13.0a5 2024-03-12 21:11:08 +01:00
Windows Python 3.13.0a6 2024-04-09 11:56:22 +02:00
macOS Python 3.13.0a5 2024-03-12 21:11:08 +01:00