]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-152052: Fix misleading `json` error for `\uXXXX` escape at the end of input...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 26 Jun 2026 14:15:21 +0000 (16:15 +0200)
committerGitHub <noreply@github.com>
Fri, 26 Jun 2026 14:15:21 +0000 (14:15 +0000)
commitf3e6bdafd2804c1bf7d4cb31fed3f983fd5936ba
tree983e03b04752ef29b632b9da6ea2fc2ce74463e5
parenta89de4b230f3003280e44546de8713e604d4c4eb
[3.15] gh-152052: Fix misleading `json` error for `\uXXXX` escape at the end of input (GH-152053) (#152283)

(cherry picked from commit 588be7af08c04d63c1a920539c64885fbc4c6d38)

Co-authored-by: tonghuaroot (童话) <tonghuaroot@gmail.com>
Co-authored-by: Stan Ulbrych <stan@python.org>
Lib/test/test_json/test_fail.py
Lib/test/test_json/test_scanstring.py
Misc/NEWS.d/next/Library/2026-06-24-12-00-00.gh-issue-152052.yBssDE.rst [new file with mode: 0644]
Modules/_json.c