cpython/Lib/pathlib
Barney Gale 655fc8a0fc
pathlib ABCs: remove caching of path parser case sensitivity (#130194)
Remove the caching `_is_case_sensitive()` function. 

The cache used to speed up `PurePath.[full_]match()` and `Path.[r]glob()`,
but that's no longer the case - these methods use
`self.parser is posixpath` to determine case sensitivity.

This makes the `pathlib._abc` module a little easier to backport to Python
3.8, where `functools.cache()` is unavailable.
2025-02-16 17:08:55 +00:00
..
__init__.py GH-127807: pathlib ABCs: remove PathBase._unsupported_msg() (#127855) 2024-12-12 17:39:24 +00:00
_abc.py pathlib ABCs: remove caching of path parser case sensitivity (#130194) 2025-02-16 17:08:55 +00:00
_local.py GH-128520: Subclass abc.ABC in pathlib._abc (#128745) 2025-02-16 00:37:26 +00:00
_os.py GH-125413: Move pathlib.Path.copy() implementation alongside Path.info (#129856) 2025-02-09 12:05:23 +00:00
types.py GH-125413: Add pathlib.Path.info attribute (#127730) 2025-02-08 01:16:45 +00:00