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

Devin Jeanpierre jeanpierreda at gmail.com
Mon Jan 27 18:15:55 CET 2014


On Mon, Jan 27, 2014 at 5:21 AM, Victor Stinner <victor.stinner at gmail.com> wrote:

- asyncio.IncompleReadError.expected is the total expected size, not the remaining size

Why not be consistent with the meaning of http.client.IncompleteRead.expected? The current meaning can be recovered via len(e.partial) + e.expected.

-- Devin



More information about the Python-Dev mailing list