Support moving across filesystems in pathlib.Path, as shutil.move() does
| BPO | 29805 |
|---|---|
| Nosy | @brettcannon, @pfmoore, @ericvsmith, @tjguk, @zware, @eryksun, @zooba |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None closed_at = None created_at = <Date 2017-03-13.21:03:44.694> labels = ['3.8', 'type-feature', 'library', '3.9', '3.10'] title = 'Support moving across filesystems in pathlib.Path, as shutil.move() does' updated_at = <Date 2021-03-15.21:26:30.922> user = 'https://bugs.python.org/LaurentMazuel'
bugs.python.org fields:
activity = <Date 2021-03-15.21:26:30.922> actor = 'eryksun' assignee = 'none' closed = False closed_date = None closer = None components = ['Library (Lib)'] creation = <Date 2017-03-13.21:03:44.694> creator = 'Laurent.Mazuel' dependencies = [] files = [] hgrepos = [] issue_num = 29805 keywords = [] message_count = 6.0 messages = ['289549', '289552', '289559', '289630', '289687', '289688'] nosy_count = 8.0 nosy_names = ['brett.cannon', 'paul.moore', 'eric.smith', 'tim.golden', 'Laurent.Mazuel', 'zach.ware', 'eryksun', 'steve.dower'] pr_nums = [] priority = 'normal' resolution = None stage = None status = 'open' superseder = None type = 'enhancement' url = 'https://bugs.python.org/issue29805' versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']
Linked PRs
- GH-73991: Add pathlib.Path.move that can handle rename across FS #30650
- GH-73991: Add
pathlib.Path.copy()#119058 - GH-73991: Add
pathlib.Path.rmtree()#119060 - [WIP] GH-73991: Add
os.copy()and friends #119079 - GH-73991: Split "Directory and file operations" section in shutil docs #119159
- GH-73991: Use same signature for
shutil._rmtree_[un]safe(). #120517 - GH-73991: Add follow_symlinks argument to
pathlib.Path.copy()#120519 - GH-73991: pathlib ABC tests: add
DummyPath.unlink()andrmdir()#120715 - GH-73991: Add
pathlib.Path.copytree()#120718 - GH-73991: Support preserving metadata in
pathlib.Path.copy()#120806 - GH-73991: Support copying directory symlinks on older Windows #120807
- GH-73991: Support preserving metadata in
pathlib.Path.copytree()#121438 - GH-73991: Fix "Operation not supported" on Fedora buildbot. #121444
- GH-73991: Add
pathlib.Path.move()#122073 - GH-73991: Rework
pathlib.Path.rmtree()intodelete()#122368 - GH-73991: Rework
pathlib.Path.copytree()intocopy()#122369 - GH-73991: Disallow copying directory into itself via
pathlib.Path.copy()#122924 - GH-73991: Prune
pathlib.Path.delete()arguments #123158 - GH-73991: Add
pathlib.Path.copy_into()andmove_into()#123314 - GH-73991: Make
pathlib.Path.delete()private. #123315 - GH-73991: Prune
pathlib.Path.copy()andcopy_into()arguments #123337