diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2012-11-07 00:36:38 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2012-11-07 00:36:38 +0100 |
commit | fc009eff9e6e7705bd3d3b68dc74619ac9079b05 (patch) | |
tree | bda0d907feb37cd0d8c6246a193e2cab41aab462 /Python/Python-ast.c | |
parent | 64e039af029fff0edb0a59f8950dc1c64fa8a341 (diff) | |
download | cpython-git-fc009eff9e6e7705bd3d3b68dc74619ac9079b05.tar.gz |
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%
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions