Issue 25610: Add typing.Awaitable - Python tracker (original) (raw)

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/69796

classification

Title: Add typing.Awaitable
Type: Stage: needs patch
Components: asyncio Versions: Python 3.6, Python 3.5

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: gvanrossum Nosy List: berker.peksag, brett.cannon, giampaolo.rodola, gvanrossum, levkivskyi, pitrou, vstinner, yselivanov
Priority: normal Keywords:

Created on 2015-11-12 19:16 by brett.cannon, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (4)
msg254547 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2015-11-12 19:16
Probably should have a subclass of Callable in `typing` for Awaitable functions (there is already a corollary object in collections.abc).
msg256038 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2015-12-07 00:01
Fixed by e9aeae1b2ea9 in 3.5, ad855c779bf3 in 3.6.]
msg256491 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2015-12-15 23:48
Can we close this now?
msg256492 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2015-12-15 23:53
Yes. (There's a corresponding issue for the typehinting repo that's still open because the tests need to be segregated into Python-3.5-only tests and tests for Python 3.3-3.4).
History
Date User Action Args
2022-04-11 14:58:23 admin set github: 69796
2015-12-15 23:53:10 gvanrossum set status: open -> closedassignee: gvanrossumresolution: fixedmessages: +
2015-12-15 23:48:19 berker.peksag set nosy: + berker.peksagmessages: +
2015-12-07 00:01:51 gvanrossum set messages: + versions: + Python 3.5
2015-11-13 17:15:13 levkivskyi set nosy: + levkivskyi
2015-11-12 19:16:08 brett.cannon create