-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed
Labels
stdlibPython modules in the Lib dirPython modules in the Lib dirtopic-pathlibtype-featureA feature request or enhancementA feature request or enhancement
Description
(Background: pathlib.Path.copy()
is new in Python 3.14, so it hasn't been released yet.)
I don't think there's a compelling case to support a dirs_exist_ok argument in the initial version of Path.copy()
. Most Python users don't need "copy and merge directory" functionality. Particularly unlucky users might use the wrong source or target path, and perform a large directory tree merge that is difficult to unpick.
We could add this back in later, in response to user demand.
Linked PRs
Metadata
Metadata
Assignees
Labels
stdlibPython modules in the Lib dirPython modules in the Lib dirtopic-pathlibtype-featureA feature request or enhancementA feature request or enhancement