Martin v. Löwis <[email protected]> added the comment:

Without looking at the code, it seems that

http://docs.python.org/release/3.1.5/library/io.html?highlight=io#io.TextIOWrapper

gives the answer

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

So, "line buffering" may have a meaning only for writing. I don't think there 
is a reasonable way to implement it for reading.

----------
nosy: +loewis

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue15049>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to