Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merged revisions 87277 via svnmerge from | Éric Araujo | 2010-12-15 | 1 | -2/+2 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87277 | eric.araujo | 2010-12-15 21:26:30 +0100 (mer., 15 déc. 2010) | 2 lines Fix wrong name in docstring and doc (#10693). Original patch by Eli Benderski. ........ | ||||
* | removed non needed lines | Tarek Ziadé | 2010-05-05 | 1 | -2/+1 |
| | |||||
* | Fixed #4265: shutil.copyfile() was leaking file descriptors when disk fills | Tarek Ziadé | 2010-05-05 | 1 | -9/+3 |
| | |||||
* | shutil: removed unused import and fixed attributes names in _call_external_zip | Tarek Ziadé | 2010-04-21 | 1 | -3/+2 |
| | |||||
* | removed ztar support in shutil.make_archive | Tarek Ziadé | 2010-04-20 | 1 | -29/+9 |
| | |||||
* | Fixed #8463: added missing reference to bztar in shutil's documentation. | Tarek Ziadé | 2010-04-19 | 1 | -1/+1 |
| | |||||
* | few pep8 fixes | Tarek Ziadé | 2010-04-19 | 1 | -3/+4 |
| | |||||
* | Issue #7512: shutil.copystat() could raise an OSError when the filesystem | Antoine Pitrou | 2010-03-22 | 1 | -2/+6 |
| | | | | | didn't support chflags() (for example ZFS under FreeBSD). The error is now silenced. | ||||
* | Fix some py3k warnings in the standard library. | Florent Xicluna | 2010-03-07 | 1 | -1/+2 |
| | |||||
* | completed the __all__ list and changed the module doctest | Tarek Ziadé | 2010-02-23 | 1 | -4/+5 |
| | |||||
* | added make_archive (and secondary APIs) to shutil | Tarek Ziadé | 2010-02-23 | 1 | -1/+280 |
| | |||||
* | only test for named pipe when os.stat doesn't raise #6209 | Benjamin Peterson | 2009-06-05 | 1 | -3/+4 |
| | |||||
* | Issue #3002: `shutil.copyfile()` and `shutil.copytree()` now raise an | Antoine Pitrou | 2009-05-01 | 1 | -4/+17 |
| | | | | error when a named pipe is encountered, rather than blocking infinitely. | ||||
* | make destinsrc private | Benjamin Peterson | 2009-02-07 | 1 | -2/+2 |
| | |||||
* | Issue #2047: shutil.move() could believe that its destination path was | Antoine Pitrou | 2009-01-29 | 1 | -1/+7 |
| | | | | | inside its source path if it began with the same letters (e.g. "src" vs. "src.new"). | ||||
* | #3134: shutil referenced undefined WindowsError symbol | Antoine Pitrou | 2008-08-11 | 1 | -4/+10 |
| | |||||
* | #2663: support an *ignore* argument to shutil.copytree(). Patch by Tarek Ziade. | Georg Brandl | 2008-07-05 | 1 | -2/+33 |
| | | | | This is a new feature, but Barry authorized adding it in the beta period. | ||||
* | Issue 1577: shutil.move() where destination is a directory was doing a | Sean Reifscheider | 2008-03-18 | 1 | -7/+25 |
| | | | | copy, now it is doing a os.rename() if it's on the same file-system. | ||||
* | #1669: don't allow shutil.rmtree() to be called on a symlink. | Georg Brandl | 2008-01-20 | 1 | -0/+8 |
| | |||||
* | Patch #1490190: posixmodule now includes os.chflags() and os.lchflags() | Martin v. Löwis | 2007-02-19 | 1 | -1/+3 |
| | | | | functions on platforms where the underlying system calls are available. | ||||
* | Don't copy directory stat times in shutil.copytree on Windows | Martin v. Löwis | 2006-07-30 | 1 | -1/+7 |
| | | | | Fixes #1525866. | ||||
* | Bug #1472949: stringify IOErrors in shutil.copytree when appending | Georg Brandl | 2006-04-28 | 1 | -1/+1 |
| | | | | them to the Error errors list. | ||||
* | No need to import exceptions, they are builtins | Neal Norwitz | 2005-09-01 | 1 | -2/+1 |
| | |||||
* | patch [ 1242454 ] shutil.copytree() quits too soon after an error. | Georg Brandl | 2005-08-31 | 1 | -0/+4 |
| | |||||
* | shutil.copytree: move copystat call for the directory after the loop | Johannes Gijsbers | 2005-01-23 | 1 | -1/+1 |
| | | | | | copying files inside the directory, as that loop changes the atime and mtime. | ||||
* | Patch #1094015: | Johannes Gijsbers | 2005-01-08 | 1 | -1/+2 |
| | | | | | * Use os.makedirs() instead os.mkdir(). (bug #975763) * Use copystat() to copy directory bits (bug #1048878) | ||||
* | Bug #1048941: shutil.rmtree error handling was always broken | Johannes Gijsbers | 2004-10-31 | 1 | -27/+33 |
| | | | | | Rewrite rmtree again, this time without os.walk(). Error handling had been broken since Python 2.3, and the os.walk() version inherited this. | ||||
* | Rewrite rmtree using os.walk to fix bug #1025127: | Johannes Gijsbers | 2004-10-07 | 1 | -15/+15 |
| | | | | | | | The shutils.rmtree() implementation uses an excessive amount of memory when deleting large directory hierarchies. Before actually deleting any files, it builds up a list of (function, filename) tuples for all the files that it is going to remove. | ||||
* | Catch OSError raised when src or dst argument to os.path.samefile doesn't | Johannes Gijsbers | 2004-08-14 | 1 | -1/+4 |
| | | | | exist. | ||||
* | Raise an exception when src and dst refer to the same file via a hard link or a | Johannes Gijsbers | 2004-08-14 | 1 | -5/+11 |
| | | | | symbolic link (bug #851123 / patch #854853, thanks Gregory Ball). | ||||
* | - Bug #981530: Fix UnboundLocalError in shutil.rmtree(). This affects | Guido van Rossum | 2004-07-14 | 1 | -0/+1 |
| | | | | | | | | the documented behavior: the function passed to the onerror() handler can now also be os.listdir. [I could've sworn I checked this in, but apparently I didn't, or it got lost???] | ||||
* | shutil.move() will raise an exception when trying to move a directory into | Brett Cannon | 2004-06-19 | 1 | -0/+6 |
| | | | | | | itself. Closes bug #919012 . Thanks Johannes Gijsbers. | ||||
* | Fix SF bug #691276, shutil.copytree documentation bug | Neal Norwitz | 2003-02-23 | 1 | -3/+3 |
| | | | | Also use True/False instead of 1/0 for symlink flag. | ||||
* | rmtree(): Make implementation agree with documentation (both latex and | Barry Warsaw | 2003-01-24 | 1 | -13/+13 |
| | | | | | docstring). Even if ignore_errors was true, an exception would occur if path didn't exist. | ||||
* | - squashed bare except in rmtree() | Just van Rossum | 2003-01-05 | 1 | -5/+5 |
| | | | | - improved readability of rmtree; removed silly apply() | ||||
* | Added new move() function to __all__. | Raymond Hettinger | 2002-10-30 | 1 | -1/+1 |
| | |||||
* | Patch #448038: Add move(). Report errors from copytree as in shutil.Error. | Martin v. Löwis | 2002-10-07 | 1 | -2/+30 |
| | |||||
* | shutil.copyfile(src,dst) was clobbering the file when the src and dst were | Raymond Hettinger | 2002-09-08 | 1 | -0/+5 |
| | | | | | | | the same. Added check to verify the two names are not the same. Does not check the actual files to see if there is a symbolic link. Closes SF bug 490165 and Tzot's patch 604600. | ||||
* | Replace obsolete stat module constants with | Walter Dörwald | 2002-06-06 | 1 | -3/+3 |
| | | | | | | equivalent attributes in a few more spots. This closes SF patch http://www.python.org/sf/562373 | ||||
* | Replace boolean test with is None. | Raymond Hettinger | 2002-06-02 | 1 | -1/+1 |
| | |||||
* | bunch more __all__ lists | Skip Montanaro | 2001-02-15 | 1 | -0/+2 |
| | | | | | | also modified check_all function to suppress all warnings since they aren't relevant to what this test is doing (allows quiet checking of regsub, for instance) | ||||
* | Patch #103342: Make shutil.copytree more useful under Jython. | Tim Peters | 2001-01-21 | 1 | -5/+8 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-01-15 | 1 | -2/+2 |
| | |||||
* | apply patch #100868 from Moshe Zadka: | Greg Stein | 2000-07-12 | 1 | -5/+10 |
| | | | | refactor the copying of file data. new: shutil.copyfileobj(fsrc, fdst) | ||||
* | Fred Gansevles <gansevle@cs.utwente.nl>: | Fred Drake | 2000-04-07 | 1 | -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 Rossum | 2000-02-04 | 1 | -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 Rossum | 1999-08-18 | 1 | -1/+1 |
| | | | | the data fork *is* copied). | ||||
* | Add import sys, needed by reference to sys.exc_info() in rmtree(). | Guido van Rossum | 1999-02-23 | 1 | -0/+1 |
| | | | | Discovered by Mitch Chapman. | ||||
* | Change the order of the utime() and the chmod() call in copystat(). | Guido van Rossum | 1999-01-14 | 1 | -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 Rossum | 1998-10-07 | 1 | -2/+2 |
| |