cpython/Lib/pathlib
Barney Gale 823a38a960
GH-79634: Speed up pathlib globbing by removing `joinpath()` call. (#114623)
Remove `self.joinpath('')` call that should have been removed in 6313cdde.

This makes `PathBase.glob('')` yield itself *without* adding a trailing slash. It's hard to say whether this is more or less correct, but at least everything else is faster, and there's no behaviour change in the public classes where empty glob patterns are disallowed.
2024-01-27 19:59:51 +00:00
..
__init__.py gh-88569: add `ntpath.isreserved()` (#95486) 2024-01-26 18:14:24 +00:00
_abc.py GH-79634: Speed up pathlib globbing by removing `joinpath()` call. (#114623) 2024-01-27 19:59:51 +00:00