Catching python syntax errors at build time

Daniel P. Berrange berrange at
Fri Feb 20 17:47:50 UTC 2009

On Fri, Feb 20, 2009 at 05:36:30PM +0000, Tim Waugh wrote:
> It occurred to me that, since we are already byte-compiling Python code 
> at build time, it is no extra effort to verify that it can be parsed and 
> fail if not.
> See attached patch.
> Can anyone think of any reason not to do this?

If it catches things like the python syntax error in anaconda for today's
rawhide compose, that makes installs impossible, then it is well worth it

|: Red Hat, Engineering, London   -o- :|
|:  -o-  -o- :|
|:       -o- :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

More information about the devel mailing list