cpython/Lib/pathlib
Barney Gale 7f8ec52302
GH-127381: pathlib ABCs: remove PathBase.unlink() and rmdir() (#127736)
Virtual filesystems don't always make a distinction between deleting files
and empty directories, and sometimes support deleting non-empty directories
in a single operation. Here we remove `PathBase.unlink()` and `rmdir()`,
leaving `_delete()` as the sole deletion method, now made abstract. I hope
to drop the underscore prefix later on.
2024-12-08 18:45:09 +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.unlink() and rmdir() (#127736) 2024-12-08 18:45:09 +00:00
_local.py GH-127381: pathlib ABCs: remove PathBase.unlink() and rmdir() (#127736) 2024-12-08 18:45:09 +00:00
_os.py GH-122890: Fix low-level error handling in pathlib.Path.copy() (#122897) 2024-08-24 15:11:39 +01:00