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

Jonathan Sauer jonathan.sauer at gmx.de
Fri Jul 13 09:33:53 PDT 2012

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 ;-)


More information about the cfe-dev mailing list