SIGN IN SIGN UP

gh-139353: Add Objects/unicode_writer.c file (#139911)

Move the public PyUnicodeWriter API and the private _PyUnicodeWriter
API to a new Objects/unicode_writer.c file.

Rename a few helper functions to share them between unicodeobject.c
and unicode_writer.c, such as resize_compact() or unicode_result().
V
Victor Stinner committed
efc37ba49eef07dad83698cf8e68820c955aacf9
Parent: 75a1cbd
Committed by GitHub <noreply@github.com> on 10/30/2025, 1:36:15 PM