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 pitrou
Recipients asvetlov, gvanrossum, pitrou, yselivanov
Date 2017-12-08.17:31:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512754288.68.0.213398074469.issue32251@psf.upfronthosting.co.za>
In-reply-to
Content
Do you think it's possible to fold BufferedProtocol into Protocol?
i.e., either `get_buffer()` returns None (the default) and `data_received()` is called with a bytes object, or `get_buffer()` returns a writable buffer and `buffer_updated()` is called with the number of bytes received into the buffer.

This would allow StreamReader to implement readinto().
History
Date User Action Args
2017-12-08 17:31:28pitrousetrecipients: + pitrou, gvanrossum, asvetlov, yselivanov
2017-12-08 17:31:28pitrousetmessageid: <1512754288.68.0.213398074469.issue32251@psf.upfronthosting.co.za>
2017-12-08 17:31:28pitroulinkissue32251 messages
2017-12-08 17:31:28pitroucreate