| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* return an integer rather than a boolean
|
| |
|
|
|
|
| |
Will backport to 2.3 myself.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The changes cause compilation failures in any file in the Python
installation lib directory to cause the install to fail. It looks
like compileall.py intended to behave this way, but a change to
py_compile.py and a separate bug defeated it.
Fixes SF bug #412436
This change affects the test suite, which contains several files that
contain intentional errors. The solution is to extend compileall.py
with the ability to skip compilation of selected files.
NB compileall.py is changed so that compile_dir() returns success only
if all recursive calls to compile_dir() also check success.
|
|
|
|
|
|
|
|
| |
added test script and expected output file as well
this closes patch 103297.
__all__ attributes will be added to other modules without first submitting
a patch, just adding the necessary line to the test script to verify
more-or-less correct implementation.
|
|
|
|
|
| |
Patch largely based on changes by Andrew Dalke, as discussed in the
distutils-sig.
|
|
|
|
|
|
|
| |
yours, please let me know for propoer acknowledgement.)
This avoids recompiling files that haven't changed; it adds a -f
option to force recompilation.
|
| |
|
|
|
|
|
|
| |
- added docstrings
- support option to specify a different purported directory name
- reindented with 4 spaces
|
| |
|
| |
|
|
urllib.py: '+' is not always safe (even though the RFC says so :-( )
whrandom.py: throw away top bits of time to avoid overflow on Mac
(where times can be negative)
|