Home
last modified time | relevance | path

Searched refs:line_buffering (Results 1 – 11 of 11) sorted by relevance

/third_party/python/Modules/_io/clinic/
Dtextio.c.h188 const char *newline, int line_buffering,
205 int line_buffering = 0; in _io_TextIOWrapper___init__() local
274 line_buffering = _PyLong_AsInt(fastargs[4]); in _io_TextIOWrapper___init__()
275 if (line_buffering == -1 && PyErr_Occurred()) { in _io_TextIOWrapper___init__()
292 …per___init___impl((textio *)self, buffer, encoding, errors, newline, line_buffering, write_through… in _io_TextIOWrapper___init__()
/third_party/python/Modules/_io/
D_iomodule.c242 int line_buffering, is_number; in _io_open_impl() local
414 line_buffering = 1; in _io_open_impl()
417 line_buffering = 0; in _io_open_impl()
482 line_buffering ? Py_True : Py_False); in _io_open_impl()
Dtextio.c653 char line_buffering; member
1075 const char *newline, int line_buffering, in _io_TextIOWrapper___init___impl() argument
1211 self->line_buffering = line_buffering; in _io_TextIOWrapper___init___impl()
1363 int line_buffering; in _io_TextIOWrapper_reconfigure_impl() local
1383 line_buffering = convert_optional_bool(line_buffering_obj, in _io_TextIOWrapper_reconfigure_impl()
1384 self->line_buffering); in _io_TextIOWrapper_reconfigure_impl()
1387 if (line_buffering < 0 || write_through < 0) { in _io_TextIOWrapper_reconfigure_impl()
1407 self->line_buffering = line_buffering; in _io_TextIOWrapper_reconfigure_impl()
1640 if ((self->writetranslate && self->writenl != NULL) || self->line_buffering) in _io_TextIOWrapper_write_impl()
1655 if (self->line_buffering && in _io_TextIOWrapper_write_impl()
[all …]
/third_party/python/Lib/
D_pyio.py221 line_buffering = False
224 line_buffering = True
251 text = TextIOWrapper(buffer, encoding, errors, newline, line_buffering)
2005 line_buffering=False, write_through=False): argument
2044 line_buffering, write_through)
2053 line_buffering=False, write_through=False): argument
2066 self._line_buffering = line_buffering
2114 def line_buffering(self): member in TextIOWrapper
2127 line_buffering=None, write_through=None): argument
2157 if line_buffering is None:
[all …]
Dsubprocess.py854 line_buffering = True
859 line_buffering = False
938 line_buffering=line_buffering,
Dtokenize.py396 text = TextIOWrapper(buffer, encoding, line_buffering=True)
Dtyping.py2171 def line_buffering(self) -> bool: member in TextIO
/third_party/python/Python/
Dpylifecycle.c1781 PyObject *line_buffering, *write_through; in create_stdio() local
1844 line_buffering = Py_True; in create_stdio()
1846 line_buffering = Py_False; in create_stdio()
1877 newline, line_buffering, write_through); in create_stdio()
/third_party/python/Lib/test/
Dtest_io.py2576 self.assertEqual(t.line_buffering, False)
2577 t.__init__(b, encoding="utf-8", line_buffering=True)
2579 self.assertEqual(t.line_buffering, True)
2621 self.assertFalse(t.line_buffering)
2657 t = self.TextIOWrapper(b, newline="\n", line_buffering=True)
2668 t = self.TextIOWrapper(b, newline="\n", line_buffering=False)
2672 t.reconfigure(line_buffering=True) # implicit flush
2678 t.reconfigure(line_buffering=False) # implicit flush
2685 t.reconfigure(line_buffering=None)
2686 self.assertEqual(t.line_buffering, False)
[all …]
Dtest_memoryio.py580 self.assertFalse(memio.line_buffering)
/third_party/python/Doc/library/
Dio.rst873 line_buffering=False, write_through=False)
917 If *line_buffering* is ``True``, :meth:`flush` is implied when a call to
936 .. attribute:: line_buffering
948 line_buffering][, write_through])
951 *errors*, *newline*, *line_buffering* and *write_through*.