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 jack1142
Recipients jack1142
Date 2019-05-16.14:19:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1558016384.86.0.469064114127.issue36939@roundup.psfhosted.org>
In-reply-to
Content
Currently shutil.copytree will allow to copy tree only if destination directory doesn't exist. I think there could be added `exist_ok` keyword argument (defaulting to `False`), which when set to `True` would prevent function from raising `FileExistsError`.
This is pretty easy to implement as `os.makedirs` command that raises this error already has `exist_ok` kwarg, which prevent function from raising that exception already.
History
Date User Action Args
2019-05-16 14:19:44jack1142setrecipients: + jack1142
2019-05-16 14:19:44jack1142setmessageid: <1558016384.86.0.469064114127.issue36939@roundup.psfhosted.org>
2019-05-16 14:19:44jack1142linkissue36939 messages
2019-05-16 14:19:44jack1142create