Message260577
Ultimately, it's the exact same thing that PEP 479 is meant to deal with - raising StopIteration is functionally identical to returning. I don't use asyncio enough to be certain, but I'm not aware of any good reason to inject a StopIteration into it; maybe an alternative solution is to add a check in set_exception "if isinstance(exception, StopIteration): raise DontBeAFool"? |
|
| Date |
User |
Action |
Args |
| 2016-02-20 21:34:59 | Rosuav | set | recipients:
+ Rosuav, gvanrossum, ikelly, yselivanov |
| 2016-02-20 21:34:59 | Rosuav | set | messageid: <[email protected]> |
| 2016-02-20 21:34:59 | Rosuav | link | issue26221 messages |
| 2016-02-20 21:34:59 | Rosuav | create | |
|