summaryrefslogtreecommitdiffstats
path: root/Lib/shutil.py
Commit message (Collapse)AuthorAgeFilesLines
* apply patch #100868 from Moshe Zadka:Greg Stein2000-07-121-5/+10
| | | | refactor the copying of file data. new: shutil.copyfileobj(fsrc, fdst)
* Fred Gansevles <gansevle@cs.utwente.nl>:Fred Drake2000-04-071-1/+1
| | | | | The copytree function doesn't pass the symlinks parameter in recursicve calls
* The third and final doc-string sweep by Ka-Ping Yee.Guido van Rossum2000-02-041-1/+1
| | | | | | | | The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
* Typo in comment (on Mac, it's the *resource* fork that's not copied,Guido van Rossum1999-08-181-1/+1
| | | | the data fork *is* copied).
* Add import sys, needed by reference to sys.exc_info() in rmtree().Guido van Rossum1999-02-231-0/+1
| | | | Discovered by Mitch Chapman.
* Change the order of the utime() and the chmod() call in copystat().Guido van Rossum1999-01-141-1/+1
| | | | | This doesn't make a bit of difference on Unix, but apparently on Windows NT you need write permission before you can set the utime...
* Fix append() calls with more than 1 argument.Guido van Rossum1998-10-071-2/+2
|
* ST_MODE should be ST_MTIME in utime call in copystat. Thanks to Mike Orr.Guido van Rossum1998-10-021-1/+1
|
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-41/+41
|
* Added rmtree(), to recursively remove a directory tree.Guido van Rossum1998-02-061-0/+32
| | | | Code by David Ascher (docstring by me).
* Transformed comments to doc strings.Guido van Rossum1997-04-291-34/+45
| | | | Added symlinks option to copytree.
* Reindented at 4 spaces.Guido van Rossum1997-04-291-49/+49
|
* Add feature to copy(), copy2(): dst may be a directory.Guido van Rossum1997-04-291-22/+27
| | | | | Remove unneeded check for '.' / '..' from copytree(). Add some comments.
* Improvements to copyfile(): open the files in binary mode, and closeGuido van Rossum1997-04-291-6/+16
| | | | them in a finally clause.
* posix -> osGuido van Rossum1992-03-311-18/+17
|
* path.cat --> joinGuido van Rossum1991-08-161-2/+2
|
* Initial revisionGuido van Rossum1990-10-131-0/+70