I modified the json module to replace the private _PyUnicodeWriter C API with the public PyUnicodeWriter C API: * https://github.com/python/cpython/commit/6e63c4736beebdf912acd391fc437672ee9d362e * https://github.com/python/cpython/commit/c914212474792312bb125211bae5719650fe2f58 Problem: it made the json module slower. Let's investigate what's going on. <!-- gh-linked-prs --> ### Linked PRs * gh-133832 * gh-133969 * gh-133971 * gh-133973 * gh-134974 * gh-135297 <!-- /gh-linked-prs -->