[Python-Dev] make install failing with current cvs
Martin v. Löwis
martin@v.loewis.de
19 Jan 2003 19:14:56 +0100
Jack Jansen <Jack.Jansen@cwi.nl> writes:
> The compileall step gets TabError
> exceptions for these files, and this causes it to finally exiting with
> a non-zero exit status.
[...]
> I've looked around and I think patch 661719 has something to do with
> this, but I'm not sure.
It does: Any kind of SyntaxError would be ignored in compileall, now
it causes a non-zero exist status (although compileall continues after
the error)
If this is desired, I can restore it to let SyntaxErrors pass silently
again.
I think it was unintentional that compileall would succeed even if
there were syntax errors; compile_dir would check whether the result
of py_compile.compile was 0, however, the only possible result of that
function was None.
Regards,
Martin