Skip to content

Conversation

@vstinner
Copy link
Member

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@vstinner