Author: Armin Rigo <[email protected]>
Branch: py3.5
Changeset: r90592:da847c465160
Date: 2017-03-08 15:27 +0100
http://bitbucket.org/pypy/pypy/changeset/da847c465160/

Log:    "python3.5 -V" writes the version to stdout

diff --git a/pypy/interpreter/app_main.py b/pypy/interpreter/app_main.py
--- a/pypy/interpreter/app_main.py
+++ b/pypy/interpreter/app_main.py
@@ -212,7 +212,7 @@
 
 def print_version(*args):
     initstdio()
-    print ("Python", sys.version, file=sys.stderr)
+    print("Python", sys.version)
     raise SystemExit
 
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to