Thanks for your response, Andrew!

I understand that as the author of aiohttp enjoy the freedom of
evolving it faster than the standard library can evolve. That has
worked really well for aiohttp and for requests too.

However, as an instructor, author and evangelist I see tremendous
value in having ready to use modules for async HTTP clients and
servers in the standard library, similar to what Go has. No need for
routing, middlewares or WebSocket support, just a bare-bones library
that people can put to immediate use before "graduating" to aiohttp.

That would make it much easier to introduce people to asyncio.

Cheers,

Luciano





On Fri, Jul 22, 2016 at 11:31 AM, Andrew Svetlov
<[email protected]> wrote:
> Luciano, it's very good that aiohttp is not a part of CPython.
>
> It allows me to develop and release the library much faster than CPython is
> released.
> aiohttp public API is changing relative fast. We keep backward compatibility
> for at least one year (with deprecation process, sure) but it's still too
> fast for CPython itself.
>
> I doubt if standard library will have http server sometimes. Think about
> requests library which lives very happy as separate library available on
> PyPI (as well as aiohttp BTW).
>
> On Fri, Jul 22, 2016 at 4:22 PM Luciano Ramalho <[email protected]> wrote:
>>
>> Thanks for starting this effort, a beginner friendly tutorial with
>> broad coverage of AsyncIO is sorely needed.
>>
>> I agree with Victor that such a tutorial should cover HTTP (It's
>> unfortunate that aiohttp is not part of the stdlib and the stdlib
>> offers no solution for async HTTP programming at all -- that's a
>> severe roadblock for wider adoption of asyncio IMHO.)
>>
>> Since "official" Python docs cannot use external libraries, then the
>> community will be best served by a tutorial that is not "official" at
>> this time. We simply must cover HTTP in the tutorial, in my view.
>>
>> Eventually I the stdlib will have an async HTTP library, and then the
>> relevant parts of the tutorial can be adapted and the tutorial
>> incorporated to the official docs.
>>
>>
>> Cheers,
>>
>> Luciano
>>
>>
>> --
>> Luciano Ramalho
>> |  Author of Fluent Python (O'Reilly, 2015)
>> |     http://shop.oreilly.com/product/0636920032519.do
>> |  Technical Principal at ThoughtWorks
>> |  Twitter: @ramalhoorg
>
> --
> Thanks,
> Andrew Svetlov



-- 
Luciano Ramalho
|  Author of Fluent Python (O'Reilly, 2015)
|     http://shop.oreilly.com/product/0636920032519.do
|  Professor em: http://python.pro.br
|  Twitter: @ramalhoorg

Reply via email to