Message310042
> Ideally we would be able to do buffer-only reads through all the of the different read methods (read, readline, readinto, ...),
Hmm... We already have non-blocking support in BufferedIOReader, except it *doesn't work*. The problem is, the semantics mandated by readline() and even buffered read() don't work very well with non-blocking IO (see issue13322).
So my opinion here is that only raw IO objects (FileIO) should have this functionality. People can build their own functionality on top of that (such as Tornado or asyncio do with their streams). |
|
Date |
User |
Action |
Args |
2018-01-16 08:13:19 | pitrou | set | recipients:
+ pitrou, benjamin.peterson, stutzbach, njs, martin.panter, xgdomingo |
2018-01-16 08:13:19 | pitrou | set | messageid: <1516090399.83.0.467229070634.issue32561@psf.upfronthosting.co.za> |
2018-01-16 08:13:19 | pitrou | link | issue32561 messages |
2018-01-16 08:13:19 | pitrou | create | |
|