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 pitrou
Recipients pitrou, vstinner
Date 2011-05-25.12:19:46
SpamBayes Score 0.00018144924
Marked as misclassified No
Message-id <1306325983.3580.1.camel@localhost.localdomain>
In-reply-to <>
> calls until returns
> an empty byte string. Why not calling only once?

BufferedReader doesn't call, it calls <rawio>.read().
The latter can be e.g. a socket and call recv(). If you want to read
till the end of stream, you have to repeat until recv() returns the
empty string.
Date User Action Args
2011-05-25 12:19:47pitrousetrecipients: + pitrou, vstinner
2011-05-25 12:19:47pitroulinkissue12175 messages
2011-05-25 12:19:47pitroucreate