| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
I'd prefer metadata=True over copy_function=shutil.copy2, and would like to request a third opinion :-)
Sorry, something went wrong.
With this change, ``pathlib.Path.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.
There was a problem hiding this comment.
Ran 462 tests in 3.520s
OK (skipped=137)
Added test passed. Looks ok.
Sorry, something went wrong.
|
I'm going to close this PR because I've added a (different) implementation of move() in GH-122073. Thank you. |
Sorry, something went wrong.
|
Thanks for letting me know. I'm happy that the issue is finally resolved. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
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