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

Re: Catching python syntax errors at build time



Tim Waugh (twaugh redhat com) said: 
> 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?

Only if it causes false positives; otherwise, I certainly
don't see a reason to not do it.

Bill


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