New submission from STINNER Victor: 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. ---------- components: asyncio files: coroutine_decorator.patch keywords: patch messages: 235857 nosy: gvanrossum, haypo, yselivanov priority: normal severity: normal status: open title: asyncio: add missing @coroutine decorators versions: Python 3.4, Python 3.5 Added file: http://bugs.python.org/file38118/coroutine_decorator.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23456> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com