]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-127381: pathlib ABCs: remove `PathBase.move()` and `move_into()` (#128337)
authorBarney Gale <barney.gale@gmail.com>
Sat, 4 Jan 2025 12:53:51 +0000 (12:53 +0000)
committerGitHub <noreply@github.com>
Sat, 4 Jan 2025 12:53:51 +0000 (12:53 +0000)
commit95352dcb9321423d0606ae0b01524ad61c2c2ec1
treed3639b46aab213e41252a89be354306472947fc4
parenta4e773c540cfd3a9c2bb3b5033d2f79ef50962c8
GH-127381: pathlib ABCs: remove `PathBase.move()` and `move_into()` (#128337)

These methods combine `_delete()` and `copy()`, but `_delete()` isn't part
of the public interface, and it's unlikely to be added until the pathlib
ABCs are made official, or perhaps even later.
Lib/pathlib/_abc.py
Lib/pathlib/_local.py
Lib/test/test_pathlib/test_pathlib.py
Lib/test/test_pathlib/test_pathlib_abc.py