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 akira
Recipients akira
Date 2014-07-25.16:43:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406306623.81.0.633771356606.issue22069@psf.upfronthosting.co.za>
In-reply-to
Content
TextIOWrapper(b, newline="\n", line_buffering=True) object calls flush() 
while writing "\r". See test_line_buffering() method in 
Lib/test/test_io.py:2114

The documentation says [1]:

> If line_buffering is True, flush() is implied when a call to write contains
> a newline character.

i.e., writing \r shouldn't force flush() if newline="\n"

[1] https://docs.python.org/3.4/library/io.html#io.TextIOWrapper
History
Date User Action Args
2014-07-25 16:43:43akirasetrecipients: + akira
2014-07-25 16:43:43akirasetmessageid: <1406306623.81.0.633771356606.issue22069@psf.upfronthosting.co.za>
2014-07-25 16:43:43akiralinkissue22069 messages
2014-07-25 16:43:43akiracreate