[cfe-dev] set-xcode-analyzer requires Python 2.7.0+

Ted Kremenek kremenek at apple.com
Mon Jul 16 14:40:14 PDT 2012


Thanks!  I've committed the fix you provided in r160321.

On Jul 13, 2012, at 9:33 AM, Jonathan Sauer <jonathan.sauer at gmx.de> wrote:

> Hello Ted,
> 
>> I think the bottom line is that I'd like set-xcode-analyzer to work regardless of your Python configuration, at least back to Snow Leopard (which supported Xcode 4.0).  I'm not a Python expert, this would also be easy to implement in straight C code, and remove the dependency on Python entirely.
> 
> I would think Python to be easier to use than C, honestly. The script mostly changes a few text
> files, and string handling is IMO vastly superior in Python than in C. As every Mac OS X has one
> version or the other of Python installed, a general dependency on it does not seem to be a
> problem to me.
> 
>> Can you file a bug report?
> 
> <http://llvm.org/bugs/show_bug.cgi?id=13345> (filed yesterday, so this mail is more for the
> record). I included a patch as well to keep you away from porting the script to C ;-)
> 
> 
> Jonathan
> 




More information about the cfe-dev mailing list