diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-06-25 03:29:18 -0700 |
---|---|---|
committer | Ned Deily <nad@python.org> | 2019-07-01 22:21:22 -0400 |
commit | 30c2ae4dcfd19acbdfb7045151c73d5700eec7b4 (patch) | |
tree | 7df263cff5936e4e65c99ff1d3179dd28eb49236 /Misc | |
parent | c58fc3af75b54203b26008b6942709bb07d00fc6 (diff) | |
download | cpython-git-30c2ae4dcfd19acbdfb7045151c73d5700eec7b4.tar.gz |
[3.7] bpo-24214: Fixed the UTF-8 and UTF-16 incremental decoders. (GH-14304) (GH-14369)
* 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.
(cherry picked from commit 894263ba80af4b7733c2df95b527e96953922656)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2019-06-22-12-45-20.bpo-24214.hIiHeD.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-06-22-12-45-20.bpo-24214.hIiHeD.rst b/Misc/NEWS.d/next/Core and Builtins/2019-06-22-12-45-20.bpo-24214.hIiHeD.rst new file mode 100644 index 0000000000..2d70ce05de --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2019-06-22-12-45-20.bpo-24214.hIiHeD.rst @@ -0,0 +1,2 @@ +Improved support of the surrogatepass error handler in the UTF-8 and UTF-16 +incremental decoders. |