SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 244 Python

gh-125196: Use PyUnicodeWriter for repr(structseq) (#125219)

Replace the private _PyUnicodeWriter with the public PyUnicodeWriter.

* Avoid temporary PyUnicode_DecodeUTF8(): call
  PyUnicodeWriter_WriteUTF8() instead.
* Avoid temporary PyObject_Repr(): call PyUnicodeWriter_WriteRepr()
  instead.
V
Victor Stinner committed
1877543d03d323d581b5fc0f19eff501926ba151
Parent: ee3167b
Committed by GitHub <noreply@github.com> on 10/9/2024, 10:04:50 PM