summaryrefslogtreecommitdiffstats
path: root/Lib/compileall.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo in docstring: The switch is '-x', not '-s'.Thomas Heller2003-08-271-1/+1
| | | | Will backport to 2.3 myself.
* Catch IOErrors.Martin v. Löwis2003-01-161-0/+3
|
* Patch #661719: Expose compilation errors as exceptions on request.Martin v. Löwis2003-01-151-8/+3
|
* Replaced obsolete stat module constants with equivalent attributesRaymond Hettinger2002-06-011-3/+2
|
* Use is None rather than general booleanRaymond Hettinger2002-06-011-2/+2
|
* Patch #495598: add an -q (quiet) option to pycompile.Martin v. Löwis2002-03-181-9/+19
|
* Fix compileall.py so that it fails on SyntaxErrorsJeremy Hylton2001-04-181-8/+26
| | | | | | | | | | | | | | | | 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 __all__ lists to a number of Python modulesSkip Montanaro2001-01-201-0/+2
| | | | | | | | 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.
* When run as a script, report failures in the exit code as well.Fred Drake1999-03-291-4/+12
| | | | | Patch largely based on changes by Andrew Dalke, as discussed in the distutils-sig.
* A mod whose author I forget. (I must've mislaid the email. If it'sGuido van Rossum1998-12-211-8/+19
| | | | | | | yours, please let me know for propoer acknowledgement.) This avoids recompiling files that haven't changed; it adds a -f option to force recompilation.
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-49/+49
|
* Revamped, to match py_compile.py:Guido van Rossum1998-01-191-58/+97
| | | | | | - added docstrings - support option to specify a different purported directory name - reindented with 4 spaces
* Don't trip over empty string in sys.path.Guido van Rossum1996-07-311-1/+1
|
* handle class exceptionsGuido van Rossum1995-02-271-1/+4
|
* New way of generating .pyc files, thanks to Sjoerd.Guido van Rossum1994-08-291-0/+67
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)