cpython/Modules/_io
Inada Naoki 6e2f144f53
bpo-43260: io: Prevent large data remains in textio buffer. (GH-24592)
When very large data remains in TextIOWrapper, flush() may fail forever.

So prevent that data larger than chunk_size is remained in TextIOWrapper internal
buffer.

Co-Authored-By: Eryk Sun.
(cherry picked from commit 01806d5beb)
2021-02-22 10:38:17 +09:00
..
clinic [3.8] bpo-37206: Unrepresentable default values no longer represented as None. (GH-13933) (GH-16141) 2019-09-14 13:31:50 +03:00
_iomodule.c [3.8] bpo-37206: Unrepresentable default values no longer represented as None. (GH-13933) (GH-16141) 2019-09-14 13:31:50 +03:00
_iomodule.h bpo-31572: Get rid of PyObject_HasAttr() and _PyObject_HasAttrId() in the _io module. (#3726) 2018-01-16 18:34:21 +02:00
bufferedio.c closes bpo-39510: Fix use-after-free in BufferedReader.readinto() (GH-18295) 2020-02-04 13:41:55 -08:00
bytesio.c Fix typos mostly in comments, docs and test names (GH-15209) 2019-08-30 13:42:54 -07:00
fileio.c [3.8] closes bpo-27805: Ignore ESPIPE in initializing seek of append-mode files. (GH-17136) 2019-11-12 15:54:19 -08:00
iobase.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
stringio.c Fix typos mostly in comments, docs and test names (GH-15209) 2019-08-30 13:42:54 -07:00
textio.c bpo-43260: io: Prevent large data remains in textio buffer. (GH-24592) 2021-02-22 10:38:17 +09:00
winconsoleio.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00