mirror of
https://github.com/python/cpython.git
synced 2025-07-15 23:35:23 +00:00
Close #16311: Use the _PyUnicodeWriter API in text decoders
* Remove unicode_widen(): replaced with _PyUnicodeWriter_Prepare() * Remove unicode_putchar(): replaced with PyUnicodeWriter_Prepare() + PyUnicode_WRITER() * When handling an decoding error, only overallocate the buffer by +25% instead of +100%
This commit is contained in:
parent
64e039af02
commit
fc009eff9e
1 changed files with 331 additions and 327 deletions
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue