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/2017-March/147508.html below:

[Python-Dev] API design: where to add async variants of existing stdlib APIs?

[Python-Dev] API design: where to add async variants of existing stdlib APIs? [Python-Dev] API design: where to add async variants of existing stdlib APIs?Paul Moore p.f.moore at gmail.com
Wed Mar 1 10:51:07 EST 2017
On 1 March 2017 at 15:34, Yury Selivanov <yselivanov.ml at gmail.com> wrote:
> +1 to put both in contextlib.

With the proviso that the implementation shouldn't depend on asyncio.
As Yury says, it should be framework agnostic, let's be careful to
make that the case and not rely on helpers from asyncio, either
deliberately or accidentally.

If writing framework-agnostic versions is difficult, maybe that
implies that some framework-agnostic helpers need to be moved out of
asyncio?

Paul
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