[issue20849] add exist_ok to shutil.copytree

Elias Zamaria report at bugs.python.org
Tue Mar 4 06:21:28 CET 2014


Elias Zamaria added the comment:

Here is a patch that adds the option.

I am not very familiar with the internals of shutil and os so I would recommend that someone else review it.

I haven't added any tests. I can try to if anyone wants but I am not sure how long it will take me or if I will find the time any time soon.

----------
keywords: +patch
nosy: +mikez302
Added file: http://bugs.python.org/file34282/shutil-copytree-exist_ok.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20849>
_______________________________________


More information about the Python-bugs-list mailing list