[Python-ideas] The async API of the future

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Nov 5 23:23:43 CET 2012

Guido van Rossum wrote:
> when you are told you have to fetch *some* bytes" but you may not get
> all 32 bytes ... so you have to build a loop around this until you actually have
> gotten 32 bytes. Same if instead of 32 bytes you want the next line --

You have to build a loop for these reasons when using
synchronous calls, too. You just don't usually notice this
because the libraries take care of it for you.


More information about the Python-ideas mailing list