Message258048
The patch looks like it adds checks for the special generator-like send() etc methods, but I was expecting __await__() to also (or instead) do this check. That way you wouldn’t have to break the iterator protocol by the iterator not raising StopIteration a second time.
Also left some other review comments. |
|
| Date |
User |
Action |
Args |
| 2016-01-12 01:37:47 | martin.panter | set | recipients:
+ martin.panter, gvanrossum, brett.cannon, ncoghlan, vstinner, asvetlov, yselivanov |
| 2016-01-12 01:37:47 | martin.panter | set | messageid: <[email protected]> |
| 2016-01-12 01:37:47 | martin.panter | link | issue25887 messages |
| 2016-01-12 01:37:47 | martin.panter | create | |
|