[issue27243] __aiter__ should return async iterator instead of awaitable

Nick Coghlan report at bugs.python.org
Mon Jun 6 16:27:56 EDT 2016


Nick Coghlan added the comment:

While I agree this needs to be fixed, one key piece of documentation needed will be to cover how to write an __aiter__ method that does the right thing on both 3.5.1 and 3.5.2+ (and also avoids the deprecation warning in the latter case).

(I've also added Larry to the cc list as release manager)

----------
nosy: +larry

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27243>
_______________________________________


More information about the Python-bugs-list mailing list