Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34k
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
gh-143196: Fix crash in non-standard use of internal JSON encoder object#143618
Uh oh!
There was an error while loading.Please reload this page.
Conversation
…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.
c559135 intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…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>
Sorry,@serhiy-storchaka, I could not cleanly backport this to |
GH-143748 is a backport of this pull request to the3.14 branch. |
…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 commentedJan 22, 2026
3.13 is not affected,6b2a196 is not in the branch. |
Uh oh!
There was an error while loading.Please reload this page.
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.
json.encoderindentation cache via re-entrant__mul__#143196