SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 0 Python

gh-119182: Use public PyUnicodeWriter in ast_unparse.c (#129208)

Replace the private _PyUnicodeWriter API with the public
PyUnicodeWriter API.

* Add append_char() function.
* Add APPEND_CHAR() and APPEND_CHAR_FINISH() macros.
* Replace APPEND_STR() and APPEND_STR_FINISH() of single character
  with APPEND_CHAR() and APPEND_CHAR_FINISH().
V
Victor Stinner committed
8eb9e76b5b2471031d6ad48ee3bc4554bb0067b7
Parent: 327a257
Committed by GitHub <noreply@github.com> on 1/23/2025, 12:44:43 AM