[Python-Dev] News from asyncio (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Mon Jan 27 11:50:03 CET 2014


On Mon, 27 Jan 2014 10:45:37 +0100 Victor Stinner <victor.stinner at gmail.com> wrote:

- Tulip #111: StreamReader.readexactly() now raises an IncompleteReadError if the end of stream is reached before we received enough bytes, instead of returning less bytes than requested.

Why not simply EOFError?

Regards

Antoine.



More information about the Python-Dev mailing list