On 27Jan2014 09:15, Devin Jeanpierre <jeanpierreda at gmail.com> wrote: > 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. 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 <cs at zip.com.au> Artificial intelligence won't make a micrometer out of a monkeywrench. - Rick Gordon <rickg at crl.com>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4