Message263698
| Author | martin.panter |
|---|
| Recipients | James Hennessy, martin.panter, r.david.murray, serhiy.storchaka |
|---|
| Date | 2016-04-18.22:29:20 |
|---|
| SpamBayes Score | -1.0 |
|---|
| Marked as misclassified | Yes |
|---|
| Message-id | <1461018560.1.0.306698521512.issue26730@psf.upfronthosting.co.za> |
|---|
| In-reply-to | |
|---|
| Content |
|---|
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. |
|