Message263698
I noticed another possible problem with using TextIOWrapper. We call tell() to see if a rollover is needed. But I think TextIOWrapper streams can return complicated values from tell(), encoding stuff like codec state and buffered data in an integer. At the minimum, I think the meaning of max_size has changed (code points vs bytes). And perhaps it won’t work very well with some codecs that record state in the tell() value. |
|
Date |
User |
Action |
Args |
2016-04-18 22:29:20 | martin.panter | set | recipients:
+ martin.panter, r.david.murray, serhiy.storchaka, James Hennessy |
2016-04-18 22:29:20 | martin.panter | set | messageid: <1461018560.1.0.306698521512.issue26730@psf.upfronthosting.co.za> |
2016-04-18 22:29:20 | martin.panter | link | issue26730 messages |
2016-04-18 22:29:20 | martin.panter | create | |
|