mirror of
https://github.com/python/cpython.git
synced 2026-01-28 05:35:31 +00:00
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 c559135c931789ebc752ae68814858c398cb798b) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>