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

Ethan Furman ethan at stoneleaf.us
Wed Mar 1 01:45:58 EST 2017


On 02/28/2017 09:42 PM, Nick Coghlan wrote:

> So would folks be OK with my asking the author of the PR for https://bugs.python.org/issue29679 (adding
> asynccontextmanager) to rewrite the patch to add it as asyncio.contextlib.asyncontextmanager (with a cross-reference
> from the synchronous contextlib docs), rather than the current approach of adding it directly to contextlib?

I like the idea of keep the asyncio stuff in one general location.

--
~Ethan~



More information about the Python-Dev mailing list