Message342645
| 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:44 | jack1142 | set | recipients: + jack1142 |
| 2019-05-16 14:19:44 | jack1142 | set | messageid: <1558016384.86.0.469064114127.issue36939@roundup.psfhosted.org> |
| 2019-05-16 14:19:44 | jack1142 | link | issue36939 messages |
| 2019-05-16 14:19:44 | jack1142 | create | |