Message247214
Since native coroutines (see PEP 492) hadn't had a separate type when the PEP was accepted, we didn't discuss that it might be necessary to introduce new exception types specifically for coroutines.
To maintain backwards compatibility with 3.5, I think we can do the following:
1. Add CoroutineReturn exception type, inherited from StopIteration;
2. Add CoroutineExit exception type, inherited from GeneratorExit. |
|
Date |
User |
Action |
Args |
2015-07-23 15:10:15 | yselivanov | set | recipients:
+ yselivanov, gvanrossum, ncoghlan |
2015-07-23 15:10:15 | yselivanov | set | messageid: <1437664215.74.0.89761121939.issue24697@psf.upfronthosting.co.za> |
2015-07-23 15:10:15 | yselivanov | link | issue24697 messages |
2015-07-23 15:10:15 | yselivanov | create | |
|