[Python-Dev] PEP 492: async/await in Python; version 4 (original) (raw)
Arnaud Delobelle arnodel at gmail.com
Fri May 1 22:24:47 CEST 2015
- Previous message (by thread): [Python-Dev] PEP 492: async/await in Python; version 4
- Next message (by thread): [Python-Dev] PEP 492: async/await in Python; version 4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 1 May 2015 at 20:24, Yury Selivanov <yselivanov.ml at gmail.com> wrote:
On 2015-05-01 3:19 PM, Ethan Furman wrote: [...]
If we must have aiter, then we may as well also have anext; besides being more consistent, it also allows an object to be both a normol iterator and an asynch iterator.
And this is a good point too.
I'm not convinced that allowing an object to be both a normal and an async iterator is a good thing. It could be a recipe for confusion.
-- Arnaud
- Previous message (by thread): [Python-Dev] PEP 492: async/await in Python; version 4
- Next message (by thread): [Python-Dev] PEP 492: async/await in Python; version 4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]