
Oct. 19, 2022
2:16 a.m.
On Tue, Oct 18, 2022, 19:39 Paul Bryan <pbryan@anode.ca> wrote:
For my edification, how is copy in pathlib proposed to be implemented? Just call out to the OS to do the copy? Do the copy by reading and writing?
Just a thin wrapper around shutil.copy2 and shutil.copytree. Most non-parsing pathlib operations are wrappers around corresponding operations from other modules.