cpython/Lib/pathlib
Barney Gale 292afd1d51
GH-127381: pathlib ABCs: remove remaining uncommon PathBase methods (#127714)
Remove the following methods from `pathlib._abc.PathBase`:

- `expanduser()`
- `hardlink_to()`
- `touch()`
- `chmod()`
- `lchmod()`
- `owner()`
- `group()`
- `from_uri()`
- `as_uri()`

These operations aren't regularly supported in virtual filesystems, so they
don't win a place in the `PathBase` interface. (Some of them probably don't
deserve a place in `Path` :P.) They're quasi-abstract (except `lchmod()`),
and they're not called by other `PathBase` methods.
2024-12-12 06:49:34 +00:00
..
__init__.py GH-73991: Rework pathlib.Path.copytree() into copy() (#122369) 2024-08-11 22:43:18 +01:00
_abc.py GH-127381: pathlib ABCs: remove remaining uncommon PathBase methods (#127714) 2024-12-12 06:49:34 +00:00
_local.py GH-127381: pathlib ABCs: remove remaining uncommon PathBase methods (#127714) 2024-12-12 06:49:34 +00:00
_os.py GH-122890: Fix low-level error handling in pathlib.Path.copy() (#122897) 2024-08-24 15:11:39 +01:00
_types.py GH-127456: pathlib ABCs: add protocol for path parser (#127494) 2024-12-09 18:31:22 +00:00