]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] 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 15:28:53 +0000 (17:28 +0200)
committerGitHub <noreply@github.com>
Fri, 26 Jun 2026 15:28:53 +0000 (15:28 +0000)
commitdbcc05334ea994b21b023f0ded141fd81604987b
tree2b5ddc6189253297d771f87d6d4da4705f2c89a2
parentc2fedeaa6d30e25a5dce90bdf112954637988c29
[3.14] gh-152052: Fix misleading `json` error for `\uXXXX` escape at the end of input (GH-152053) (#152284)

(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