Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-143196: Fix crash in non-standard use of internal JSON encoder object#143618

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchakaserhiy-storchaka commentedJan 9, 2026
edited
Loading

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.

…er objectThe internal encoder object returned by undocumented functionjson.encoder.c_make_encoder() (aka _json.make_encoder()) crashedwhen it was called with non-zero second argument.
@serhiy-storchakaserhiy-storchakaenabled auto-merge (squash)January 12, 2026 17:59
@serhiy-storchakaserhiy-storchaka merged commitc559135 intopython:mainJan 12, 2026
46 checks passed
@miss-islington-app
Copy link

Thanks@serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJan 12, 2026
…er object (pythonGH-143618)The internal encoder object returned by undocumented functionjson.encoder.c_make_encoder() (aka _json.make_encoder()) crashedwhen it was called with non-zero second argument.(cherry picked from commitc559135)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@miss-islington-app
Copy link

Sorry,@serhiy-storchaka, I could not cleanly backport this to3.13 due to a conflict.
Please backport usingcherry_picker on command line.

cherry_picker c559135c931789ebc752ae68814858c398cb798b 3.13

@bedevere-app
Copy link

GH-143748 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelJan 12, 2026
@serhiy-storchakaserhiy-storchaka removed their assignmentJan 12, 2026
serhiy-storchaka added a commit that referenced this pull requestJan 12, 2026
…der object (GH-143618) (GH-143748)The internal encoder object returned by undocumented functionjson.encoder.c_make_encoder() (aka _json.make_encoder()) crashedwhen it was called with non-zero second argument.(cherry picked from commitc559135)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
reidenong pushed a commit to reidenong/cpython that referenced this pull requestJan 12, 2026
…er object (pythonGH-143618)The internal encoder object returned by undocumented functionjson.encoder.c_make_encoder() (aka _json.make_encoder()) crashedwhen it was called with non-zero second argument.
@StanFromIreland
Copy link
Member

3.13 is not affected,6b2a196 is not in the branch.

@StanFromIrelandStanFromIreland removed the needs backport to 3.13bugs and security fixes labelJan 22, 2026
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@eendebakpteendebakptAwaiting requested review from eendebakpt

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@serhiy-storchaka@StanFromIreland

[8]ページ先頭

©2009-2026 Movatter.jp