Author: Armin Rigo <[email protected]>
Branch: py3.5
Changeset: r90694:45a687d2768f
Date: 2017-03-15 11:28 +0100
http://bitbucket.org/pypy/pypy/changeset/45a687d2768f/
Log: Match the description of '-u' to its more correct variant in the
python man page, and not the error-inducing one in 'python3 --help'.
See also http://bugs.python.org/issue28647
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
@@ -19,8 +19,9 @@
-q : don't print version and copyright messages on interactive startup
-s : don't add user site directory to sys.path; also PYTHONNOUSERSITE
-S : don't imply 'import site' on initialization
--u : unbuffered binary stdout and stderr, stdin always buffered;
- also PYTHONUNBUFFERED=x
+-u : force the binary I/O layers of stdout and stderr to be unbuffered.
+ stdin is always buffered. the text I/O layer will still be
+ line-buffered. see also PYTHONUNBUFFERED=x
-v : verbose (trace import statements); also PYTHONVERBOSE=x
can be supplied multiple times to increase verbosity
-V : print the Python version number and exit (also --version)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit