Searched refs:StreamRecoder (Results 1 – 6 of 6) sorted by relevance
/third_party/python/Lib/ |
D | codecs.py | 755 class StreamRecoder: class 948 sr = StreamRecoder(file, data_info.encode, data_info.decode,
|
/third_party/python/Doc/library/ |
D | codecs.rst | 210 Return a :class:`StreamRecoder` instance, a wrapped version of *file* 834 StreamRecoder Objects 837 The :class:`StreamRecoder` translates data from one encoding to another, 844 .. class:: StreamRecoder(stream, encode, decode, Reader, Writer, errors='strict') 846 Creates a :class:`StreamRecoder` instance which implements a two-way conversion: 865 :class:`StreamRecoder` instances define the combined interfaces of
|
/third_party/python/Doc/howto/ |
D | unicode.rst | 693 The :class:`~codecs.StreamRecoder` class can transparently convert between 698 can wrap it with a :class:`~codecs.StreamRecoder` to return bytes encoded in 701 new_f = codecs.StreamRecoder(f,
|
/third_party/python/Misc/NEWS.d/ |
D | 3.8.0b1.rst | 1468 Fix a bug in :class:`codecs.StreamRecoder` where seeking might leave old 1716 Make `codecs.StreamRecoder.writelines` take a list of bytes.
|
/third_party/python/Lib/test/ |
D | test_codecs.py | 3293 sr = codecs.StreamRecoder(bio, codec.encode, codec.decode, 3302 sr = codecs.StreamRecoder(bio, codec.encode, codec.decode,
|
/third_party/python/Misc/ |
D | HISTORY | 19364 - Bug #1235646: ``codecs.StreamRecoder.next()`` now reencodes the data it reads 22833 - StreamReader, StreamReaderWriter and StreamRecoder in the codecs
|