diff -r 8e6771c3b020 asyncio/tasks.py --- a/asyncio/tasks.py Sat Apr 05 23:21:07 2014 +0200 +++ b/asyncio/tasks.py Sun Apr 13 21:21:31 2014 -0400 @@ -44,7 +44,7 @@ self.func = func def __iter__(self): - return self + return iter(self.gen) def __next__(self): return next(self.gen)