[Python-checkins] python/dist/src/Misc python.man,1.24,1.25

Jack Jansen Jack.Jansen@oratrix.com
Mon, 29 Jul 2002 23:54:51 +0200


On maandag, juli 29, 2002, at 10:02 , Guido van Rossum wrote:
>> For readlines() I think this is the right thing to do, but
>> xreadlines() and file iterators could actually "do the right
>> thing" and revert to a slower scheme if the underlying stream is
>> unbuffered? Or is this overkill?
>
> What's the use case for -u again?  I thought it was pretty rare that
> this was needed, and when it's needed, the program probably knows that
> it's needed, and can simply avoid using xreadlines.

You're probably right (that's also why I wondered whether this 
was overkill). I was just triggered by the phrasing of the help 
message.
--
- Jack Jansen        <Jack.Jansen@oratrix.com>        
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- 
Emma Goldman -