SIGN IN SIGN UP

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.
B
Barney Gale committed
ef63cca494571f50906baae1d176469a3dcf8838
Parent: c78729f
Committed by GitHub <noreply@github.com> on 12/29/2024, 10:07:12 PM