Title: asyncio: add missing @coroutine decorators
Type: Stage:
Components: asyncio Versions: Python 3.4, Python 3.5
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: gvanrossum, python-dev, vstinner, yselivanov
Priority: normal Keywords: patch

Created on 2015-02-12 21:59 by vstinner, last changed 2015-03-18 10:41 by vstinner. This issue is now closed.

File name Uploaded Description Edit
coroutine_decorator.patch vstinner, 2015-02-12 21:59 review
Messages (2)
msg235857 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2015-02-12 21:59
coroutine_decorator.patch adds missing @coroutine decorator to coroutine functions and methods in the asyncio module.

I'm not sure that it's ok to add @coroutine to __iter__() methods. At least, test_asyncio pass.
msg238402 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2015-03-18 10:40
New changeset 6f7ed6e95ea8 by Victor Stinner in branch '3.4':
Issue #23456: Add missing @coroutine decorators in asyncio
Date User Action Args
2015-03-18 10:41:08vstinnersetstatus: open -> closed
resolution: fixed
2015-03-18 10:40:38python-devsetnosy: + python-dev
messages: + msg238402
2015-02-12 21:59:58vstinnercreate