This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients irmen, loewis, pitrou, vstinner
Date 2015-09-10.18:49:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441910959.95.0.106116120878.issue1103213@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2015-09-10 18:49:19vstinnersetrecipients: + vstinner, loewis, irmen, pitrou
2015-09-10 18:49:19vstinnersetmessageid: <1441910959.95.0.106116120878.issue1103213@psf.upfronthosting.co.za>
2015-09-10 18:49:19vstinnerlinkissue1103213 messages
2015-09-10 18:49:19vstinnercreate