Skip to content

[3.14] gh-143196: Fix crash in non-standard use of internal JSON encoder object (GH-143618)#143748

Merged
serhiy-storchaka merged 1 commit intopython:3.14from
miss-islington:backport-c559135-3.14
Jan 12, 2026
Merged

[3.14] gh-143196: Fix crash in non-standard use of internal JSON encoder object (GH-143618)#143748
serhiy-storchaka merged 1 commit intopython:3.14from
miss-islington:backport-c559135-3.14

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jan 12, 2026

The internal encoder object returned by undocumented function
json.encoder.c_make_encoder() (aka _json.make_encoder()) crashed
when it was called with non-zero second argument.
(cherry picked from commit c559135)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…er object (pythonGH-143618)

The internal encoder object returned by undocumented function
json.encoder.c_make_encoder() (aka _json.make_encoder()) crashed
when it was called with non-zero second argument.
(cherry picked from commit c559135)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) January 12, 2026 18:36
@serhiy-storchaka serhiy-storchaka merged commit 7a066ad into python:3.14 Jan 12, 2026
49 checks passed
@miss-islington miss-islington deleted the backport-c559135-3.14 branch January 12, 2026 18:50
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.

2 participants