Message307859
> 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:45 | yselivanov | set | recipients:
+ yselivanov, gvanrossum, pitrou, asvetlov |
2017-12-08 17:34:45 | yselivanov | set | messageid: <1512754485.52.0.213398074469.issue32251@psf.upfronthosting.co.za> |
2017-12-08 17:34:45 | yselivanov | link | issue32251 messages |
2017-12-08 17:34:45 | yselivanov | create | |
|