• Victor Stinner's avatar
    Close #17694: Add minimum length to _PyUnicodeWriter · 8f674ccd
    Victor Stinner yazdı
     * Add also min_char attribute to _PyUnicodeWriter structure (currently unused)
     * _PyUnicodeWriter_Init() has no more argument (except the writer itself):
       min_length and overallocate must be set explicitly
     * In error handlers, only enable overallocation if the replacement string
       is longer than 1 character
     * CJK decoders don't use overallocation anymore
     * Set min_length, instead of preallocating memory using
       _PyUnicodeWriter_Prepare(), in many decoders
     * _PyUnicode_DecodeUnicodeInternal() checks for integer overflow
    8f674ccd
Adı
Son kayıt (commit)
Son güncelleme
..
README Loading commit data...
_codecs_cn.c Loading commit data...
_codecs_hk.c Loading commit data...
_codecs_iso2022.c Loading commit data...
_codecs_jp.c Loading commit data...
_codecs_kr.c Loading commit data...
_codecs_tw.c Loading commit data...
alg_jisx0201.h Loading commit data...
cjkcodecs.h Loading commit data...
emu_jisx0213_2000.h Loading commit data...
mappings_cn.h Loading commit data...
mappings_hk.h Loading commit data...
mappings_jisx0213_pair.h Loading commit data...
mappings_jp.h Loading commit data...
mappings_kr.h Loading commit data...
mappings_tw.h Loading commit data...
multibytecodec.c Loading commit data...
multibytecodec.h Loading commit data...