[issue26964] Incorrect documentation for `-u`-flag
New submission from Olav Morken: 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".
----------
assignee: docs@python
components: Documentation
files: fix-doc-unbuffered.patch
keywords: patch
messages: 264910
nosy: docs@python, olavmrk
priority: normal
severity: normal
status: open
title: Incorrect documentation for `-u`-flag
Added file: http://bugs.python.org/file42736/fix-doc-unbuffered.patch
_______________________________________
Python tracker
Changes by Berker Peksag
Irit Katriel
Change by Serhiy Storchaka
participants (4)
-
Berker Peksag
-
Irit Katriel
-
Olav Morken
-
Serhiy Storchaka