Searched refs:TextIOWrapper (Results 1 – 25 of 75) sorted by relevance
123
/external/python/cpython3/Lib/test/ |
D | test_io.py | 452 return self.TextIOWrapper(UnseekableReader(), "ascii") 458 return self.TextIOWrapper(UnseekableWriter(), "ascii") 2512 t = self.TextIOWrapper(b) 2524 t = self.TextIOWrapper.__new__(self.TextIOWrapper) 2526 t = self.TextIOWrapper.__new__(self.TextIOWrapper) 2541 self.TextIOWrapper(b, encoding="hex") 2546 t = self.TextIOWrapper(b) 2549 t = self.TextIOWrapper(b, encoding="ascii") 2566 t = self.TextIOWrapper(b, encoding="utf-8") 2567 modname = self.TextIOWrapper.__module__ [all …]
|
D | test_getpass.py | 4 from io import BytesIO, StringIO, TextIOWrapper 74 stream = TextIOWrapper(BytesIO(), encoding="ascii")
|
D | test_cmd_line_script.py | 538 text = io.TextIOWrapper(io.BytesIO(stderr), 'ascii').read() 550 text = io.TextIOWrapper(io.BytesIO(stderr), 'ascii').read() 561 text = io.TextIOWrapper(io.BytesIO(stderr), "ascii").read()
|
D | test_uu.py | 22 class FakeIO(io.TextIOWrapper):
|
/external/python/cpython2/Lib/test/ |
D | test_io.py | 2037 t = self.TextIOWrapper(b) 2049 t = self.TextIOWrapper.__new__(self.TextIOWrapper) 2051 t = self.TextIOWrapper.__new__(self.TextIOWrapper) 2066 self.TextIOWrapper(b, encoding="hex_codec") 2071 t = self.TextIOWrapper(b) 2074 t = self.TextIOWrapper(b, encoding="ascii") 2090 t = self.TextIOWrapper(b, encoding="utf-8") 2091 modname = self.TextIOWrapper.__module__ 2107 t = self.TextIOWrapper(b, newline="\n", line_buffering=True) 2118 t = self.TextIOWrapper(b, encoding="utf8") [all …]
|
/external/python/cpython2/Lib/ |
D | io.py | 57 IncrementalNewlineDecoder, TextIOWrapper) 88 for klass in (StringIO, TextIOWrapper):
|
/external/python/cpython3/Lib/distutils/tests/ |
D | test_log.py | 18 stdout = io.TextIOWrapper(io.BytesIO(), 20 stderr = io.TextIOWrapper(io.BytesIO(),
|
/external/python/cpython3/Lib/ |
D | io.py | 57 IncrementalNewlineDecoder, TextIOWrapper) 90 for klass in (StringIO, TextIOWrapper):
|
D | getpass.py | 51 input = io.TextIOWrapper(tty)
|
D | cgi.py | 34 from io import StringIO, BytesIO, TextIOWrapper 151 if isinstance(fp, TextIOWrapper): 414 elif isinstance(fp, TextIOWrapper):
|
D | lzma.py | 305 return io.TextIOWrapper(binary_file, encoding, errors, newline)
|
D | bz2.py | 321 return io.TextIOWrapper(binary_file, encoding, errors, newline)
|
D | os.py | 990 return _wrap_close(io.TextIOWrapper(proc.stdout), proc) 996 return _wrap_close(io.TextIOWrapper(proc.stdin), proc)
|
D | tokenize.py | 30 from io import TextIOWrapper 451 text = TextIOWrapper(buffer, encoding, line_buffering=True)
|
D | subprocess.py | 755 self.stdin = io.TextIOWrapper(self.stdin, write_through=True, 761 self.stdout = io.TextIOWrapper(self.stdout, 766 self.stderr = io.TextIOWrapper(self.stderr,
|
/external/python/cpython3/Lib/email/ |
D | parser.py | 10 from io import StringIO, TextIOWrapper 108 fp = TextIOWrapper(fp, encoding='ascii', errors='surrogateescape')
|
/external/python/cpython3/Lib/importlib/ |
D | resources.py | 8 from io import BytesIO, TextIOWrapper 125 return TextIOWrapper(reader.open_resource(resource), encoding, errors) 147 return TextIOWrapper(BytesIO(data), encoding, errors)
|
/external/python/cpython2/Misc/NEWS.d/next/Core and Builtins/ |
D | 2017-10-07-10-13-15.bpo-25862.FPYBA5.rst | 1 Fix assertion failures in the ``tell()`` method of ``io.TextIOWrapper``.
|
/external/yapf/yapf/yapflib/ |
D | py3compat.py | 39 wrapper = io.TextIOWrapper(sys.stdin.buffer, encoding='utf-8')
|
/external/python/cpython2/Doc/library/ |
D | io.rst | 48 from and to :class:`unicode` strings. :class:`TextIOWrapper`, which extends 173 :class:`TextIOBase` (specifically :class:`TextIOWrapper`). When used to open 772 .. class:: TextIOWrapper(buffer, encoding=None, errors=None, newline=None, line_buffering=False) 792 single: universal newlines; io.TextIOWrapper class 814 :class:`TextIOWrapper` provides one attribute in addition to those of 824 An in-memory stream for unicode text. It inherits :class:`TextIOWrapper`. 831 The *newline* argument works like that of :class:`TextIOWrapper`. 838 :class:`TextIOWrapper` and its parents: 902 Also, :meth:`TextIOWrapper.tell` and :meth:`TextIOWrapper.seek` are both 920 :class:`TextIOWrapper` objects are not thread-safe. [all …]
|
/external/python/cpython3/Doc/library/ |
D | io.rst | 187 from strings. :class:`TextIOWrapper`, which extends it, is a buffered text 847 .. class:: TextIOWrapper(buffer, encoding=None, errors=None, newline=None, \ 871 single: universal newlines; io.TextIOWrapper class 895 not to be buffered: any data written on the :class:`TextIOWrapper` 907 :class:`TextIOWrapper` provides these members in addition to those of 951 The *newline* argument works like that of :class:`TextIOWrapper`. 1017 :meth:`TextIOWrapper.tell` and :meth:`TextIOWrapper.seek` are both quite slow 1034 :class:`TextIOWrapper` objects are not thread-safe. 1048 will wrap a buffered object inside a :class:`TextIOWrapper`. This includes
|
D | gzip.rst | 49 :class:`io.TextIOWrapper` instance with the specified encoding, error 87 :class:`io.TextIOWrapper`).
|
/external/python/setuptools/setuptools/ |
D | dist.py | 887 if not isinstance(sys.stdout, io.TextIOWrapper): 901 sys.stdout = io.TextIOWrapper( 906 sys.stdout = io.TextIOWrapper(
|
/external/python/cpython3/Lib/xml/sax/ |
D | saxutils.py | 108 return io.TextIOWrapper(buffer, encoding=encoding,
|
/external/python/cpython2/Lib/xml/sax/ |
D | saxutils.py | 106 class _UnbufferedTextIOWrapper(io.TextIOWrapper):
|
123