Author yselivanov
Recipients asvetlov, gvanrossum, pitrou, yselivanov
Date 2017-12-08.17:34:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> 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.
Date User Action Args
2017-12-08 17:34:45yselivanovsetrecipients: + yselivanov, gvanrossum, pitrou, asvetlov
2017-12-08 17:34:45yselivanovsetmessageid: <>
2017-12-08 17:34:45yselivanovlinkissue32251 messages
2017-12-08 17:34:45yselivanovcreate