cpython/Lib/pathlib
Barney Gale 12b4f1a5a1
GH-127381: pathlib ABCs: remove PathBase.samefile() and rarer is_*() (#127709)
Remove `PathBase.samefile()`, which is fairly specific to the local FS, and
relies on `stat()`, which we're aiming to remove from `PathBase`.

Also remove `PathBase.is_mount()`, `is_junction()`, `is_block_device()`,
`is_char_device()`, `is_fifo()` and `is_socket()`. These rely on POSIX
file type numbers that we're aiming to remove from the `PathBase` API.
2024-12-11 00:09:55 +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 PathBase.samefile() and rarer is_*() (#127709) 2024-12-11 00:09:55 +00:00
_local.py GH-127381: pathlib ABCs: remove PathBase.samefile() and rarer is_*() (#127709) 2024-12-11 00:09:55 +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