Skip to content

GH-73991: Add pathlib.Path.move that can handle rename across FS#30650

Closed
oz123 wants to merge 2 commits intopython:mainfrom
oz123:bpo-46317-pathlib-move
Closed

GH-73991: Add pathlib.Path.move that can handle rename across FS#30650
oz123 wants to merge 2 commits intopython:mainfrom
oz123:bpo-46317-pathlib-move

Conversation

@oz123
Copy link
Contributor

@oz123 oz123 commented Jan 17, 2022

With this change, Pathlib.move adds the ability
to handle renaming across file system and also preserve metadata
when renaming, since shutil.move using shutil.copy2 is used
under the hood.

https://bugs.python.org/issue46317

https://bugs.python.org/issue46317

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants