Displaying 1 result from an estimated 1 matches for "run_lin".
Did you mean:
run_lib
2015 Oct 09
3
Python version for scripts in LLVM?
...if args.verbose:
- print >>sys.stderr, 'Scanning for RUN lines in test file: %s' % (test,)
+ print('Scanning for RUN lines in test file: %s' % (test,), file=sys.stderr)
with open(test) as f:
test_lines = [l.rstrip() for l in f]
@@ -83,19 +83,19 @@
run_lines = [m.group(1)
for m in [run_line_re.match(l) for l in test_lines] if m]
if args.verbose:
- print >>sys.stderr, 'Found %d RUN lines:' % (len(run_lines),)
+ print('Found %d RUN lines:' % (len(run_lines),), file=sys.stderr)
for l in run_l...