]> granicus.if.org Git - python/commit
bpo-31825: Fixed OverflowError in the 'unicode-escape' codec (GH-4058) (#4059)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 20 Oct 2017 14:41:29 +0000 (07:41 -0700)
committerSerhiy Storchaka <storchaka@gmail.com>
Fri, 20 Oct 2017 14:41:29 +0000 (17:41 +0300)
commit1e78ed6825701029aa45a68f9e62dd3bb8d4e928
treeb3193d19bb7ba1e10b19f99d225930a415300640
parent9c23b173b823b5e6da01d85c570c7ae2ab07b38b
bpo-31825: Fixed OverflowError in the 'unicode-escape' codec (GH-4058) (#4059)

and in codecs.escape_decode() when decode an escaped non-ascii byte.
(cherry picked from commit 56cb465cc93dcb35aaf7266ca3dbe2dcff1fac5f)
Lib/test/test_codecs.py
Misc/NEWS.d/next/Core and Builtins/2017-10-20-14-07-46.bpo-31825.gJvmGW.rst [new file with mode: 0644]
Objects/bytesobject.c
Objects/unicodeobject.c
Python/ast.c