[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Catching python syntax errors at build time



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

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]