[Patches] [ python-Patches-552804 ] Explain buffering effects of xreadlines

noreply@sourceforge.net noreply@sourceforge.net
Mon, 06 May 2002 09:07:50 -0700


Patches item #552804, was opened at 2002-05-06 05:23
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=552804&group_id=5470

Category: Documentation
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Sean Reifschneider (jafo)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: Explain buffering effects of xreadlines

Initial Comment:
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...

----------------------------------------------------------------------

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-05-06 12:07

Message:
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.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=552804&group_id=5470