This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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.
History
Date User Action Args
2016-04-18 22:29:20martin.pantersetrecipients: + martin.panter, r.david.murray, serhiy.storchaka, James Hennessy
2016-04-18 22:29:20martin.pantersetmessageid: <1461018560.1.0.306698521512.issue26730@psf.upfronthosting.co.za>
2016-04-18 22:29:20martin.panterlinkissue26730 messages
2016-04-18 22:29:20martin.pantercreate