commit | 894263ba80af4b7733c2df95b527e96953922656 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Tue Jun 25 11:54:18 2019 +0300 |
committer | GitHub <noreply@github.com> | Tue Jun 25 11:54:18 2019 +0300 |
tree | 4d779773185514744e39f6e9560563540b9047b6 | |
parent | 9fe42b49c79c453d905d0395150ba0607fbab18b [diff] |
bpo-24214: Fixed the UTF-8 and UTF-16 incremental decoders. (GH-14304) * The UTF-8 incremental decoders fails now fast if encounter a sequence that can't be handled by the error handler. * The UTF-16 incremental decoders with the surrogatepass error handler decodes now a lone low surrogate with final=False.