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 martin.panter
Recipients martin.panter, yuriy_levchenko
Date 2015-03-11.22:18:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426112333.24.0.0798962934896.issue23638@psf.upfronthosting.co.za>
In-reply-to
Content
In case it’s not clear to others, the first bit of code is from the shutil.copytree() implementation at Lib/shutil.py:303.

The documentation currently says “The destination directory . . . must not already exist”. Yuriy seems to be proposing to make copytree() use the existing destination directory, and only create it if it does not already exist. Perhaps you might be interested in Issue 20849, which proposes passing the os.makedirs(exist_ok=...) flag through, which would allow this functionality in a backwards-compatible way.
History
Date User Action Args
2015-03-11 22:18:53martin.pantersetrecipients: + martin.panter, yuriy_levchenko
2015-03-11 22:18:53martin.pantersetmessageid: <1426112333.24.0.0798962934896.issue23638@psf.upfronthosting.co.za>
2015-03-11 22:18:53martin.panterlinkissue23638 messages
2015-03-11 22:18:53martin.pantercreate