On Sat, Mar 15, 2014 at 11:40 AM, Yuri Gribov <[email protected]> wrote: > I believe llvm_symbolizer expects python2 interpreter. You could try > one of these > * install your Python 3 as /usr/local/bin/python3 to avoid shadowing > default system Python > * explicitly run llvm_symbolizer under Python2 interpreter > * update asan_symbolizer.py using 2to3 Yes, you are right (again!). I just found http://stackoverflow.com/questions/3367899/print-syntax-error-with-python-3.
The script appears to work with both interpreters if there are parens around the print arguments. Python is brutal for someone who does not know it (I'm a C/C++/ObjC guy). I'm amazed that basic functionality such as print was broken between 2 & 3. Imagine if printf stopped working in C99! (And I'm not buying into that argument that Python is fast and easy. It took me two days to get a Python working with SSL that provided SNI). Jeff -- You received this message because you are subscribed to the Google Groups "address-sanitizer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
