[issue7545] IO buffering behaviour not properly documented
Georg Brandl
report at bugs.python.org
Sat Dec 19 18:12:06 CET 2009
Georg Brandl <georg at python.org> added the comment:
The docs have a different wording, which I suggest copying to the docstring:
*buffering* is an optional integer used to set the buffering policy. By
default full buffering is on. Pass 0 to switch buffering off (only
allowed
in binary mode), 1 to set line buffering, and an integer > 1 to
indicate the
size of the buffer.
But now the question remains what the default is -- "full buffering" is
only meaningful with a specified buffer size. The implementation seems
to default to line buffering.
----------
assignee: georg.brandl -> pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7545>
_______________________________________
More information about the Python-bugs-list
mailing list