Fred Drake
5fa38862bb
Fred Gansevles <gansevle@cs.utwente.nl>:
...
The copytree function doesn't pass the symlinks parameter in recursicve
calls
2000-04-07 14:34:50 +00:00
Guido van Rossum
e7b146fb3b
The third and final doc-string sweep by Ka-Ping Yee.
...
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.
2000-02-04 15:28:42 +00:00
Guido van Rossum
959fa01dc3
Typo in comment (on Mac, it's the *resource* fork that's not copied,
...
the data fork *is* copied).
1999-08-18 20:03:17 +00:00
Guido van Rossum
83c03e2d94
Add import sys, needed by reference to sys.exc_info() in rmtree().
...
Discovered by Mitch Chapman.
1999-02-23 23:07:51 +00:00
Guido van Rossum
e1bf7e8c1d
Change the order of the utime() and the chmod() call in copystat().
...
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...
1999-01-14 00:42:00 +00:00
Guido van Rossum
d832f9e425
Fix append() calls with more than 1 argument.
1998-10-07 13:18:17 +00:00
Guido van Rossum
96372a2657
ST_MODE should be ST_MTIME in utime call in copystat. Thanks to Mike Orr.
1998-10-02 03:16:08 +00:00
Guido van Rossum
45e2fbc2e7
Mass check-in after untabifying all files that need it.
1998-03-26 21:13:24 +00:00
Guido van Rossum
d76732918a
Added rmtree(), to recursively remove a directory tree.
...
Code by David Ascher (docstring by me).
1998-02-06 21:38:09 +00:00
Guido van Rossum
9d0a3dfa3d
Transformed comments to doc strings.
...
Added symlinks option to copytree.
1997-04-29 14:45:19 +00:00
Guido van Rossum
a2baf46c89
Reindented at 4 spaces.
1997-04-29 14:06:46 +00:00
Guido van Rossum
5980845bd5
Add feature to copy(), copy2(): dst may be a directory.
...
Remove unneeded check for '.' / '..' from copytree().
Add some comments.
1997-04-29 14:06:05 +00:00
Guido van Rossum
277206b08e
Improvements to copyfile(): open the files in binary mode, and close
...
them in a finally clause.
1997-04-29 13:08:15 +00:00
Guido van Rossum
c96207abb3
posix -> os
1992-03-31 18:55:40 +00:00
Guido van Rossum
784ca6c835
path.cat --> join
1991-08-16 13:28:23 +00:00
Guido van Rossum
c636014c43
Initial revision
1990-10-13 19:23:40 +00:00