Author yselivanov
Recipients asvetlov, gvanrossum, pitrou, yselivanov
Date 2017-12-08.17:34:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512754485.52.0.213398074469.issue32251@psf.upfronthosting.co.za>
In-reply-to
Content
> Do you think it's possible to fold BufferedProtocol into Protocol?

It would be a backwards incompatible change :(

Coincidentally, there might be protocols that already implement 'get_buffer()' and 'buffer_updated()' methods that do something completely different.


> This would allow StreamReader to implement readinto().

We can easily refactor StreamReader to use 'BufferedProtocol'.  Methods like 'readexactly()' would benefit from that.
History
Date User Action Args
2017-12-08 17:34:45yselivanovsetrecipients: + yselivanov, gvanrossum, pitrou, asvetlov
2017-12-08 17:34:45yselivanovsetmessageid: <1512754485.52.0.213398074469.issue32251@psf.upfronthosting.co.za>
2017-12-08 17:34:45yselivanovlinkissue32251 messages
2017-12-08 17:34:45yselivanovcreate