Message259655
Is deprecating RawIOBase.writelines() an option, and only recommending BufferedIOBase.writelines() and TextIOBase.writelines()?
Otherwise, I think it would make most sense to keep retrying until all the data is written. This mirrors how I understand readline() and readall() work (keeps reading until it gets as much as necessary).
For non-blocking mode, readline() does not support that (see Issue 13858). It does not make much sense to me to have writelines() support non-blocking mode either. |
|
Date |
User |
Action |
Args |
2016-02-05 12:05:50 | martin.panter | set | recipients:
+ martin.panter, pitrou, vstinner, jstasiak |
2016-02-05 12:05:50 | martin.panter | set | messageid: <1454673950.71.0.473737065174.issue26292@psf.upfronthosting.co.za> |
2016-02-05 12:05:50 | martin.panter | link | issue26292 messages |
2016-02-05 12:05:50 | martin.panter | create | |
|