]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-127807: pathlib ABCs: remove a few private attributes (#127851)
authorBarney Gale <barney.gale@gmail.com>
Sun, 22 Dec 2024 01:41:38 +0000 (01:41 +0000)
committerGitHub <noreply@github.com>
Sun, 22 Dec 2024 01:41:38 +0000 (01:41 +0000)
commitf5ba74b81979b621e38be70ec3ddad1e7f1365ce
tree283b43babf3d9e55ac2442ea4bb711be24cf13a9
parenta959ea1b0a026ff118975b9b539513b06dde3190
GH-127807: pathlib ABCs: remove a few private attributes (#127851)

From `PurePathBase` delete `_globber`, `_stack` and `_pattern_str`, and
from `PathBase` delete `_glob_selector`. This helps avoid an unpleasant
surprise for a users who try to use these names.
Lib/pathlib/_abc.py
Lib/pathlib/_local.py