Movatterモバイル変換


[0]ホーム

URL:


homepage

Message346273

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

Authorserhiy.storchaka
RecipientsRalfM, ezio.melotti, methane, roufique7, serhiy.storchaka, vstinner, xtreak
Date2019-06-22.10:11:04
SpamBayes Score-1.0
Marked as misclassifiedYes
Message-id<1561198265.14.0.141412799426.issue24214@roundup.psfhosted.org>
In-reply-to
Content
Victor, I think you misunderstood the issue. The problem is not that a decoding error is raised. The problem is that the incremental decoder no longer raises where it raised before.I think that both behavior may be correct, and that it is better to not rely on ability of the incremental decoder with final=False to detect an invalid encoded data, but I see now that it is possible to fix for the original issue more carefully, without changing that behavior.PR 14304 does this.It also change the UTF-16 incremental decoder with the surrogatepass error handler to return a non-empty data when decode a low surrogate with final=False. It is not necessary, but it makes all UTF-* decoders consistent and makes tests simpler.
History
DateUserActionArgs
2019-06-22 10:11:05serhiy.storchakasetrecipients: +serhiy.storchaka,vstinner,ezio.melotti,methane,RalfM,xtreak,roufique7
2019-06-22 10:11:05serhiy.storchakasetmessageid: <1561198265.14.0.141412799426.issue24214@roundup.psfhosted.org>
2019-06-22 10:11:05serhiy.storchakalinkissue24214 messages
2019-06-22 10:11:04serhiy.storchakacreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp