mirror of https://github.com/python/cpython
69652035bc
decoding incomplete input (when the input stream is temporarily exhausted). codecs.StreamReader now implements buffering, which enables proper readline support for the UTF-16 decoders. codecs.StreamReader.read() has a new argument chars which specifies the number of characters to return. codecs.StreamReader.readline() and codecs.StreamReader.readlines() have a new argument keepends. Trailing "\n"s will be stripped from the lines if keepends is false. Added C APIs PyUnicode_DecodeUTF8Stateful and PyUnicode_DecodeUTF16Stateful. |
||
---|---|---|
.. | ||
.cvsignore | ||
abstract.tex | ||
api.tex | ||
concrete.tex | ||
exceptions.tex | ||
init.tex | ||
intro.tex | ||
memory.tex | ||
newtypes.tex | ||
refcounting.tex | ||
refcounts.dat | ||
utilities.tex | ||
veryhigh.tex |