| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Will backport to 2.4.
|
| |
|
| |
|
|
|
|
| |
From SF patch #852334.
|
| |
|
|
|
|
| |
suggested by PEP 291.
|
|
|
|
| |
is often out of date
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
absolute pathnames; this lets it keep working in the face of chdir'ing
around.
|
| |
|
|
|
|
| |
mutable, rather than public and constant.
|
|
|
|
| |
instead of muddling through IOError and OSError exception objects itself.
|
|
|
|
|
|
|
|
|
| |
'remove_tree()' can cooperate with 'mkpath()' in the maintenance of
the PATH_CREATED cache: specifically, if a directory is created
with 'mkpath()', later removed with 'remove_tree()', and 'mkpath()'
is again requested to create it, then it would erroneously think
the directory already existed, because it was in the PATH_CREATED
cache. The patch (slightly tweaked by me) fixes that.
|
|
|
|
|
| |
bug when adding new code, so I thought I'd make it blow up earlier
than deep in posix.py.
|
|
- 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.
|