[Python-Dev] PEP 492: What is the real goal? (original) (raw)
Paul Moore p.f.moore at gmail.com
Thu Apr 30 10:17:08 CEST 2015
- Previous message (by thread): [Python-Dev] PEP 492: What is the real goal?
- Next message (by thread): [Python-Dev] PEP 492: What is the real goal?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 30 April 2015 at 06:39, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
Aaargh, this is what we get for overloading the word "coroutine". The Wikipedia article is talking about a technique where coroutines yield control to other explicitly identified coroutines.
Yep, I understand that. It's just that that's what I understand by coroutines.
Coroutines in asyncio don't work that way; instead they just suspend themselves, and the event loop takes care of deciding which one to run next.
Precisely. As I say, the terminology is probably not going to change now - no big deal in practice. Paul
- Previous message (by thread): [Python-Dev] PEP 492: What is the real goal?
- Next message (by thread): [Python-Dev] PEP 492: What is the real goal?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]