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.

Author olavmrk
Recipients docs@python, olavmrk
Date 2016-05-05.17:06:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1462467997.8.0.490878249706.issue26964@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation for the `-u`-flag (https://docs.python.org/3/using/cmdline.html#cmdoption-u) contains:

> The text I/O layer will still be line-buffered if writing to the console, or block-buffered if redirected to a non-interactive file.

This does not appear to be the case -- instead it is always line-buffered:

https://hg.python.org/cpython/file/v3.5.1/Python/pylifecycle.c#l1041

Attached is a trivial patch that simply removes everything after "line-buffered".
History
Date User Action Args
2016-05-05 17:06:37olavmrksetrecipients: + olavmrk, docs@python
2016-05-05 17:06:37olavmrksetmessageid: <1462467997.8.0.490878249706.issue26964@psf.upfronthosting.co.za>
2016-05-05 17:06:37olavmrklinkissue26964 messages
2016-05-05 17:06:37olavmrkcreate