]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] 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:11:27 +0000 (16:11 +0200)
committerGitHub <noreply@github.com>
Fri, 26 Jun 2026 14:11:27 +0000 (14:11 +0000)
commitac3b2ab3c95b91743278d543d39f4212f05104f4
tree8a362b148c4d350f5b1d03357c6efaab93868fd9
parent998587cd74f1d34dd7759ed0c85c622e9969e711
[3.13] gh-152052: Fix misleading `json` error for `\uXXXX` escape at the end of input (GH-152053) (#152285)

(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