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 steve.dower
Recipients anhans, eryksun, paul.moore, steve.dower, tim.golden, zach.ware
Date 2019-08-16.15:39:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565969995.13.0.0740308675526.issue37871@roundup.psfhosted.org>
In-reply-to
Content
I'd rather keep encoding incrementally, and reduce the length of each attempt until the last UTF-8 character does not have its top bit set (i.e. is the final character in a multi-byte sequence).

Otherwise the people who like to print >2GB worth of data to the console will complain about the memory error :)
History
Date User Action Args
2019-08-16 15:39:55steve.dowersetrecipients: + steve.dower, paul.moore, tim.golden, zach.ware, eryksun, anhans
2019-08-16 15:39:55steve.dowersetmessageid: <1565969995.13.0.0740308675526.issue37871@roundup.psfhosted.org>
2019-08-16 15:39:55steve.dowerlinkissue37871 messages
2019-08-16 15:39:55steve.dowercreate