]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-152052: Fix misleading `json` error for `\uXXXX` escape at the end of input (...
authortonghuaroot (童话) <tonghuaroot@gmail.com>
Fri, 26 Jun 2026 13:47:22 +0000 (21:47 +0800)
committerGitHub <noreply@github.com>
Fri, 26 Jun 2026 13:47:22 +0000 (14:47 +0100)
commit588be7af08c04d63c1a920539c64885fbc4c6d38
tree1065ebeeaf07fdc27a5283008e55ed7c01e0ba9c
parent1cbe460eb6c5f40980463f381b3096c92320ff84
gh-152052: Fix misleading `json` error for `\uXXXX` escape at the end of input (#152053)

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