[Python-Dev] PEP 492: async/await in Python; v3 (original) (raw)
Yury Selivanov yselivanov.ml at gmail.com
Tue Apr 28 17:22:39 CEST 2015
- Previous message (by thread): [Python-Dev] PEP 492: async/await in Python; v3
- Next message (by thread): [Python-Dev] PEP 492: async/await in Python; v3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Stefan,
On 2015-04-28 1:43 AM, Stefan Behnel wrote:
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 ...
Them sharing the same interface depends on how the discussion goes :)
But all in all, I think that it should be totally separate classes, even
if they share some methods.
Thanks, Yury
- Previous message (by thread): [Python-Dev] PEP 492: async/await in Python; v3
- Next message (by thread): [Python-Dev] PEP 492: async/await in Python; v3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]