Message373289
> but it will break the code which uses TextIOWrapper with other file-like objects whose write() method does not return the number of written bytes.
We can detect if write() doesn't return an integer and don't attempt to call write() in a loop (until all bytes are written) in this case. |
|
Date |
User |
Action |
Args |
2020-07-08 08:32:24 | vstinner | set | recipients:
+ vstinner, pitrou, methane, serhiy.storchaka, mjacob |
2020-07-08 08:32:24 | vstinner | set | messageid: <1594197144.59.0.966425999358.issue41221@roundup.psfhosted.org> |
2020-07-08 08:32:24 | vstinner | link | issue41221 messages |
2020-07-08 08:32:24 | vstinner | create | |
|