A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-February/132211.html below:

[Python-Dev] News from asyncio

[Python-Dev] News from asyncio [Python-Dev] News from asyncioCameron Simpson cs at zip.com.au
Sun Feb 2 23:52:46 CET 2014
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>
More information about the Python-Dev mailing list

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