This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Recipients arigo, eryksun,, serhiy.storchaka, vstinner
Date 2016-11-12.18:21:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The output of "python3.5 --help" says:

    -u : unbuffered binary stdout and stderr, stdin always buffered;
         also PYTHONUNBUFFERED=x
         see man page for details on internal buffering relating to '-u'

If you look at the man page as instructed then you'll see a clearer

    -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.

For example, if you try this:

    python3.5 -uc 'import sys,time;w=sys.stdout.buffer.write;w(b"a");time.sleep(1);w(b"b");'

then you'll see that the binary output is indeed unbuffered as

The output of --help is trying to abbreviate this explanation, but I
think it's abbreviated too much. The explanation from the man page
seems clear to me, and is only a little longer, so I suggest changing
the --help output to match the man page.
Date User Action Args
2016-11-12 18:21:35gdr@garethrees.orgsetrecipients: +, arigo, vstinner, serhiy.storchaka, eryksun
2016-11-12 18:21:35gdr@garethrees.orgsetmessageid: <>
2016-11-12 18:21:35gdr@garethrees.orglinkissue28647 messages
2016-11-12 18:21:35gdr@garethrees.orgcreate