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.

classification
Title: Explain buffering effects of xreadlines
Type: Stage:
Components: Documentation Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: fdrake Nosy List: fdrake, jafo
Priority: normal Keywords: patch

Created on 2002-05-06 09:23 by jafo, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
xreadlines.patch jafo, 2002-05-06 09:23 Documentation patch adding xreadlines buffering mention.
Messages (2)
msg39896 - (view) Author: Sean Reifschneider (jafo) * (Python committer) Date: 2002-05-06 09:23
A new user today was confused by the fact that calling
python with "-u" to unbuffer stdin was not having any
noticable effects when doing:

   for i in sys.stdin.xreadlines(): print i

This patch adds a description to the xreadlines()
method of the xreadlines module documentation which
mentions this problem.  It seems the user would have
been happy with at least being able to find something
in the documentation saying that it would happen...
msg39897 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2002-05-06 16:07
Logged In: YES 
user_id=3066

Checked in patch as Doc/lib/libxreadlines.tex revisions 1.3,
1.2.22.1, and 1.2.4.1.
History
Date User Action Args
2022-04-10 16:05:18adminsetgithub: 36559
2002-05-06 09:23:44jafocreate