Movatterモバイル変換


[0]ホーム

URL:


homepage

Message263698

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Authormartin.panter
RecipientsJames Hennessy, martin.panter, r.david.murray, serhiy.storchaka
Date2016-04-18.22:29:20
SpamBayes Score-1.0
Marked as misclassifiedYes
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
DateUserActionArgs
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
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp