Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jan 23, 2025

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().

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().
@vstinner vstinner merged commit 8eb9e76 into python:main Jan 23, 2025
44 checks passed
@vstinner vstinner deleted the unparse_writer branch January 23, 2025 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant