2 Feb
2014
2 Feb
'14
10:52 p.m.
On 27Jan2014 09:15, Devin Jeanpierre
On Mon, Jan 27, 2014 at 5:21 AM, Victor Stinner
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.
Which you could also expose as a property name ".requested", since
this value must have been thought useful or Victor wouldn't have
defined .expected to be it:-) Seems reasonable, for all that the
above computation is trivial.
Just a thought,
--
Cameron Simpson