diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2012-11-06 23:36:38 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2012-11-06 23:36:38 (GMT) |
commit | fc009eff9e6e7705bd3d3b68dc74619ac9079b05 (patch) | |
tree | bda0d907feb37cd0d8c6246a193e2cab41aab462 /Lib/code.py | |
parent | 64e039af029fff0edb0a59f8950dc1c64fa8a341 (diff) | |
download | cpython-fc009eff9e6e7705bd3d3b68dc74619ac9079b05.zip cpython-fc009eff9e6e7705bd3d3b68dc74619ac9079b05.tar.gz cpython-fc009eff9e6e7705bd3d3b68dc74619ac9079b05.tar.bz2 |
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 'Lib/code.py')
0 files changed, 0 insertions, 0 deletions