[issue22132] Cannot copy the same directory structure to the same destination more than once

2014-08-07 Thread Éric Araujo
Éric Araujo added the comment: Thanks. There is a function intended for general use: shutil.copytree; it may have the same behavior (not a bug if it's documented). -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tra

[issue22132] Cannot copy the same directory structure to the same destination more than once

2014-08-06 Thread Csaba Makara
Csaba Makara added the comment: Sorry for the late answer. It was a direct usage of the dir_utils.copy_tree. I absolutely understand you don't want to touch it. -- ___ Python tracker ___

[issue22132] Cannot copy the same directory structure to the same destination more than once

2014-08-04 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the report. Did you find this issue with a setup.py file or with direct usage of dir_utils.copy_tree? These distutils modules are not meant for general use, so bugs that don’t occur during regular use of setup.py files will probably not get fixed. (

[issue22132] Cannot copy the same directory structure to the same destination more than once

2014-08-04 Thread Csaba Makara
New submission from Csaba Makara: If I use the distutils.dir_util.copy_tree to copy the same directory structure multiple times to the same place (even from multiple sources) but I remove and recreate the target_directory before each copy, the following exception accurs: g:\_Programming>py exa