Skip to content

[3.14] gh-162028: Fix the pure Python JSON decoder error position for invalid escapes (GH-162029) - #162123

Merged
vstinner merged 1 commit into
python:3.14from
miss-islington:backport-5e18bfc-3.14
Nov 16, 2026
Merged

vstinner merged 1 commit into
python:3.14from
miss-islington:backport-5e18bfc-3.14

Conversation

@miss-islington

@miss-islington miss-islington commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

The C decoder reports the position of the backslash. The pure Python
decoder reported the position of the character after it.
(cherry picked from commit 5e18bfc)

Co-authored-by: Thejesh thejesh36@gmail.com

…invalid escapes (pythonGH-162029)

The C decoder reports the position of the backslash. The pure Python
decoder reported the position of the character after it.
(cherry picked from commit 5e18bfcf3e27d69731384f7240e063f7eac4ef50)

Co-authored-by: Thejesh <thejesh36@gmail.com>
@vstinner
vstinner enabled auto-merge (squash) November 16, 2026 17:00
@vstinner
vstinner merged commit f174711 into python:3.14 Nov 16, 2026
51 checks passed
@miss-islington
miss-islington deleted the backport-5e18bfc-3.14 branch November 16, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants