• Jeremy Hylton's avatar
    Fix compileall.py so that it fails on SyntaxErrors · 12b6457e
    Jeremy Hylton yazdı
    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.
    12b6457e
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
setup.py Loading commit data...