[issue36939] Allow to use shutil.copytree for existing destination directory with optional argument

2019-05-16 Thread jack1142
jack1142 added the comment: Sorry, it looks like I was looking at 3.7 branch and this is already implemented in master branch. -- stage: -> resolved status: open -> closed ___ Python tracker __

[issue36939] Allow to use shutil.copytree for existing destination directory with optional argument

2019-05-16 Thread jack1142
New submission from jack1142 : 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