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: <[email protected]> |
| 2017-12-08 17:31:28 | pitrou | link | issue32251 messages |
| 2017-12-08 17:31:28 | pitrou | create | |
|