Commits

Armin Rigo committed c1c4583

Bah. "print >> sys.stderr, ..." is syntactically valid on Python 3,
but does nonsense.

  • Participants
  • Parent commits dd14c68

Comments (0)

Files changed (1)

     try:
         compiler.compile(['c/check__thread.c'])
     except distutils.errors.CompileError:
-        print >> sys.stderr, "the above error message can be safely ignored;"
-        print >> sys.stderr, "will not use '__thread' in the C code"
+        sys.stderr.write("the above error message can be safely ignored;\n")
+        sys.stderr.write("will not use '__thread' in the C code\n")
     else:
         define_macros.append(('USE__THREAD', None))
     try: