[pypy-commit] cffi default: Use the word 'Note' to make it sound less ominous

arigo noreply at buildbot.pypy.org
Sat Mar 15 07:54:04 CET 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r1481:ddbfc6f0300b
Date: 2014-03-15 07:53 +0100
http://bitbucket.org/cffi/cffi/changeset/ddbfc6f0300b/

Log:	Use the word 'Note' to make it sound less ominous

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -43,9 +43,9 @@
 
 def ask_supports_thread():
     if sys.platform == "darwin":
-        sys.stderr.write("OS/X: confusion between 'cc' versus 'gcc'")
-        sys.stderr.write(" (see issue 123)\n")
-        sys.stderr.write("will not use '__thread' in the C code\n")
+        sys.stderr.write("Note: will not use '__thread' in the C code\n")
+        sys.stderr.write("This is for OS/X-specific reasons: confusion "
+                         "between 'cc' versus 'gcc' (see issue 123)\n")
         return
     import distutils.errors
     from distutils.ccompiler import new_compiler
@@ -53,8 +53,8 @@
     try:
         compiler.compile(['c/check__thread.c'])
     except distutils.errors.CompileError:
-        sys.stderr.write("the above error message can be safely ignored;\n")
-        sys.stderr.write("will not use '__thread' in the C code\n")
+        sys.stderr.write("Note: will not use '__thread' in the C code\n")
+        sys.stderr.write("The above error message can be safely ignored\n")
     else:
         define_macros.append(('USE__THREAD', None))
     try:


More information about the pypy-commit mailing list