Message250402
Oh, in fact recvall() is a bad name. The io module uses the "readall()" name to really read all content of a file, whereas "recvall(N)" here only read up to N bytes.
It would be better to reuse the same name than asyncio, "readexactly(N)":
https://docs.python.org/dev/library/asyncio-stream.html#asyncio.StreamReader.readexactly
asyncio and http.client already have their IncompleteRead exceptions. Maybe it would be time to add a builtin exception? |
|
Date |
User |
Action |
Args |
2015-09-10 18:49:19 | vstinner | set | recipients:
+ vstinner, loewis, irmen, pitrou |
2015-09-10 18:49:19 | vstinner | set | messageid: <1441910959.95.0.106116120878.issue1103213@psf.upfronthosting.co.za> |
2015-09-10 18:49:19 | vstinner | link | issue1103213 messages |
2015-09-10 18:49:19 | vstinner | create | |
|