[New-bugs-announce] [issue26964] Incorrect documentation for `-u`-flag

Olav Morken report at bugs.python.org
Thu May 5 13:06:37 EDT 2016

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:


Attached is a trivial patch that simply removes everything after "line-buffered".

assignee: docs at python
components: Documentation
files: fix-doc-unbuffered.patch
keywords: patch
messages: 264910
nosy: docs at 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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list