[Patches] [ python-Patches-1094015 ] Improvements for shutil.copytree()

SourceForge.net noreply at sourceforge.net
Sat Jan 8 13:32:21 CET 2005


Patches item #1094015, was opened at 2005-01-01 09:26
Message generated for change (Comment added) made by jlgijsbers
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1094015&group_id=5470

Category: Library (Lib)
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Reinhold Birkenfeld (birkenfeld)
Assigned to: Nobody/Anonymous (nobody)
Summary: Improvements for shutil.copytree()

Initial Comment:
See bugs #975763 and #1048878.

The patch changes shutil.copytree() to use
os.makedirs() instead of os.mkdir() and to copy
directory bits using copystat(), because file bits are
copied, too.

It includes a doc change to mention these details.

----------------------------------------------------------------------

>Comment By: Johannes Gijsbers (jlgijsbers)
Date: 2005-01-08 13:32

Message:
Logged In: YES 
user_id=469548

Applied on HEAD. Thanks for the patch! Log message:

Checking in Doc/lib/libshutil.tex;
/cvsroot/python/python/dist/src/Doc/lib/libshutil.tex,v  <--
 libshutil.tex
new revision: 1.16; previous revision: 1.15
done
Checking in Lib/shutil.py;
/cvsroot/python/python/dist/src/Lib/shutil.py,v  <--  shutil.py
new revision: 1.35; previous revision: 1.34
done


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1094015&group_id=5470


More information about the Patches mailing list