summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/file_util.py
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 73814-73815 via svnmerge fromTarek Ziadé2009-07-031-24/+25
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73814 | tarek.ziade | 2009-07-03 21:01:12 +0200 (Fri, 03 Jul 2009) | 1 line basic tests to raise distutils.file_util coverage ........ r73815 | tarek.ziade | 2009-07-03 21:14:49 +0200 (Fri, 03 Jul 2009) | 1 line cleaned distutils.file_util ........
* Merged revisions 69332 via svnmerge fromTarek Ziadé2009-02-061-3/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69332 | tarek.ziade | 2009-02-06 01:49:45 +0100 (Fri, 06 Feb 2009) | 1 line using >= so setting verbose to 2 will work as well ........
* Merged revisions 69324 via svnmerge fromTarek Ziadé2009-02-061-9/+13
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69324 | tarek.ziade | 2009-02-06 01:31:59 +0100 (Fri, 06 Feb 2009) | 1 line Fixed #1276768: verbose option was not used in the code. ........
* Fix [issue4038] py3k error in distutils file_copy exception handlers. r=martin.Mark Hammond2008-10-051-10/+5
|
* Fix more exception slicing.Georg Brandl2008-01-061-1/+1
|
* General cleanup, raise normalization in Lib/distutils.Collin Winter2007-08-301-54/+34
|
* SF patch 1631942 by Collin Winter:Guido van Rossum2007-01-101-8/+15
| | | | | | (a) "except E, V" -> "except E as V" (b) V is now limited to a simple name (local variable) (c) V is now deleted at the end of the except block
* Update compatibility comments to 2.1, corresponding to PEP 291 1.13.Martin v. Löwis2004-11-101-1/+1
|
* Whitespace normalization, via reindent.py.Tim Peters2004-07-181-1/+1
|
* Add comment to Distutil files about requiring 1.5.2 compatibility, asAndrew M. Kuchling2002-11-191-0/+2
| | | | suggested by PEP 291.
* Remove 'created by' lines; people can use CVS for this, and the information ↵Andrew M. Kuchling2002-11-141-2/+0
| | | | is often out of date
* Make setup.py less chatty by default.Jeremy Hylton2002-06-041-14/+9
| | | | | | | | | | | | | | | This is a conservative version of SF patch 504889. It uses the log module instead of calling print in various places, and it ignores the verbose argument passed to many functions and set as an attribute on some objects. Instead, it uses the verbosity set on the logger via the command line. The log module is now preferred over announce() and warn() methods that exist only for backwards compatibility. XXX This checkin changes a lot of modules that have no test suite and aren't exercised by the Python build process. It will need substantial testing.
* [Bug #220993; may also fix bug #479469] Fix flakiness when oldAndrew M. Kuchling2002-02-011-0/+7
| | | | | | | | | installations are present, by always unlinking the destination file before copying to it. Without the unlink(), the copied file remains owned by its previous UID, causing the subsequent chmod() to fail. Bugfix candidate, though it may cause changes on platforms where file ownership behaves differently.
* Whitespace normalization.Fred Drake2001-12-061-8/+8
|
* Import the errno moduleAndrew M. Kuchling2001-08-091-1/+2
|
* Don't "import *" from stat at all -- just import what's needed, andGreg Ward2001-07-251-1/+1
| | | | do it back in copy_file() (not at module level).
* move "from stat import *" to module levelJeremy Hylton2001-01-311-1/+1
|
* Changed 'copy_file()' so it returns a tuple (dest_name, copied) -- hopefully,Greg Ward2000-09-301-6/+7
| | | | this will please everyone (as if that's possible).
* Whitespace fix.Greg Ward2000-09-261-1/+2
|
* Reformat docstrings.Greg Ward2000-09-231-65/+63
| | | | Standardize use of whitespace on function calls.
* Bastian Kleineidam: 'copy_file()' now returns the output filename, ratherGreg Ward2000-06-231-6/+5
| | | | than a boolean indicating whether it did the copy.
* Tweaked output of 'copy_file()': if copying to a new name, show the wholeGreg Ward2000-05-201-3/+6
| | | | destination path, otherwise show just the directory.
* Sporadic, untested Python 1.5.1 compatibility changes.Greg Ward2000-04-221-1/+1
|
* Reorganization: ripped util.py to shreds, creating in the process:Greg Ward2000-04-041-0/+248
- file_util.py: operations on single files - dir_util.py: operations on whole directories or directory trees - dep_util.py: simple timestamp-based dependency analysis - archive_util.py: creation of archive (tar, zip, ...) files The functions left in util.py are miscellany that don't fit in any of the new files.