[Python-Dev] PEP 492 quibble and request
Greg Ewing
greg.ewing at canterbury.ac.nz
Sun May 3 03:22:44 CEST 2015
More information about the Python-Dev mailing list
Sun May 3 03:22:44 CEST 2015
- Previous message (by thread): [Python-Dev] PEP 492 quibble and request
- Next message (by thread): [Python-Dev] PEP 492 quibble and request
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido van Rossum wrote: > On Sat, May 2, 2015 at 1:18 PM, Arnaud Delobelle <arnodel at gmail.com > <mailto:arnodel at gmail.com>> wrote: > > Does this mean that > somehow "await x" guarantees that the coroutine will suspend at least > once? No. First, it's possible for x to finish without yielding. But even if x yields, there is no guarantee that the scheduler will run something else -- it might just resume the same task, even if there is another one that could run. It's up to the scheduler whether it implements any kind of "fair" scheduling policy. -- Greg
- Previous message (by thread): [Python-Dev] PEP 492 quibble and request
- Next message (by thread): [Python-Dev] PEP 492 quibble and request
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list