28 Apr
2015
28 Apr
'15
8:43 a.m.
Yury Selivanov schrieb am 28.04.2015 um 05:07:
e) Should we add a coroutine ABC (for cython etc)?
Sounds like the right thing to do, yes. IIUC, a Coroutine would be a new stand-alone ABC with send, throw and close methods. Should a Generator then inherit from both Iterator and Coroutine, or would that counter your intention to separate coroutines from generators as a concept? I mean, they do share the same interface ... It seems you're already aware of https://bugs.python.org/issue24018 Stefan