Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r47879:3fc8df6a35c0
Date: 2011-10-08 17:05 +0200
http://bitbucket.org/pypy/pypy/changeset/3fc8df6a35c0/

Log:    Print this to stderr, like CPython.

diff --git a/pypy/translator/goal/app_main.py b/pypy/translator/goal/app_main.py
--- a/pypy/translator/goal/app_main.py
+++ b/pypy/translator/goal/app_main.py
@@ -144,7 +144,7 @@
     print '  --jit off                  turn off the JIT'
 
 def print_version(*args):
-    print "Python", sys.version
+    print >> sys.stderr, "Python", sys.version
     raise SystemExit
 
 def set_jit_option(options, jitparam, *args):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to