[issue32193] Convert asyncio to async/await

Andrew Svetlov report at bugs.python.org
Fri Dec 1 04:44:32 EST 2017


New submission from Andrew Svetlov <andrew.svetlov at gmail.com>:

As discussed several times before we need to convert `@coroutine` / `yield from` to async/await.

All existing functionality should keep working (like yielding from new style coroutine and `with (yield from lock)`.

We could deprecate the later though.

The change should be huge but there is no alternative, keeping `yield from` in stdlib looks uglier and uglier every year.

Unittests should be changed as well (keeping several `yield from` for checking backward compatibility is Ok).


Opinions?

----------
assignee: asvetlov
components: Library (Lib), asyncio
messages: 307375
nosy: asvetlov, yselivanov
priority: normal
severity: normal
status: open
title: Convert asyncio to async/await
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32193>
_______________________________________


More information about the Python-bugs-list mailing list