[Python-Dev] PEP 492 quibble and request
Greg Ewing
greg.ewing at canterbury.ac.nz
Thu Apr 30 10:58:53 CEST 2015
Ethan Furman wrote:
> Having gone through the PEP again, I am still no closer to understanding
> what happens here:
>
> data = await reader.read(8192)
>
> What does the flow of control look like at the interpreter level?
Are you sure you *really* want to know? For the sake
of sanity, I recommend ignoring the actual control
flow and pretending that it's just like
data = reader.read(8192)
with the reader.read() method somehow able to be
magically suspended.
--
Greg
More information about the Python-Dev
mailing list