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: <1456004099.85.0.727154816919.issue26221@psf.upfronthosting.co.za> |
2016-02-20 21:34:59 | Rosuav | link | issue26221 messages |
2016-02-20 21:34:59 | Rosuav | create | |
|