This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author barneygale
Recipients Oz.Tiram, barneygale
Date 2022-01-15.15:08:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642259326.78.0.22873031181.issue46317@roundup.psfhosted.org>
In-reply-to
Content
Fair enough. Users who wanted to avoid copying file metadata would then do something like this, I suppose?

    import pathlib
    import shutil

    path = pathlib.Path('foo')
    path.move('bar', copy_function=shutil.copy)

I guess the downside here is that users would still need to `import shutil` to do this. But I see the utility of allowing any copy_function to be supplied!
History
Date User Action Args
2022-01-15 15:08:46barneygalesetrecipients: + barneygale, Oz.Tiram
2022-01-15 15:08:46barneygalesetmessageid: <1642259326.78.0.22873031181.issue46317@roundup.psfhosted.org>
2022-01-15 15:08:46barneygalelinkissue46317 messages
2022-01-15 15:08:46barneygalecreate