Message307857
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(). |
|
Date |
User |
Action |
Args |
2017-12-08 17:31:28 | pitrou | set | recipients:
+ pitrou, gvanrossum, asvetlov, yselivanov |
2017-12-08 17:31:28 | pitrou | set | messageid: <1512754288.68.0.213398074469.issue32251@psf.upfronthosting.co.za> |
2017-12-08 17:31:28 | pitrou | link | issue32251 messages |
2017-12-08 17:31:28 | pitrou | create | |
|