cpython/Lib/pathlib
Barney Gale ef63cca494
GH-127381: pathlib ABCs: remove uncommon PurePathBase methods (#127853)
Remove `PurePathBase.relative_to()` and `is_relative_to()` because they
don't account for *other* being an entirely different kind of path, and
they can't use `__eq__()` because it's not on the `PurePathBase` interface.

Remove `PurePathBase.drive`, `root`, `is_absolute()` and `as_posix()`.
These are all too specific to local filesystems.
2024-12-29 22:07:12 +00:00
..
__init__.py GH-127807: pathlib ABCs: remove PathBase._unsupported_msg() (#127855) 2024-12-12 17:39:24 +00:00
_abc.py GH-127381: pathlib ABCs: remove uncommon PurePathBase methods (#127853) 2024-12-29 22:07:12 +00:00
_local.py GH-127381: pathlib ABCs: remove uncommon PurePathBase methods (#127853) 2024-12-29 22:07:12 +00:00
_os.py GH-127807: pathlib ABCs: move private copying methods to dedicated class (#127810) 2024-12-22 02:22:08 +00:00
_types.py GH-127381: pathlib ABCs: remove uncommon PurePathBase methods (#127853) 2024-12-29 22:07:12 +00:00