Support moving across filesystems in pathlib.Path, as shutil.move() does · Issue #73991 · python/cpython · GitHub

github.com

Tin mới

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

stdlibStandard Library Python modules in the Lib/ directory

type-featureA feature request or enhancement

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() and rmdir() #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() into delete() #122368

GH-73991: Rework pathlib.Path.copytree() into copy() #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() and move_into() #123314

GH-73991: Make pathlib.Path.delete() private. #123315

GH-73991: Prune pathlib.Path.copy() and copy_into() arguments #123337