summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2021-02-21 23:29:30 (GMT)
committerGitHub <noreply@github.com>2021-02-21 23:29:30 (GMT)
commit01806d5beba3d208bb56adba6829097d803bf54f (patch)
tree3d843f7b0c03e7e8b0511a523e0f71251bc587bd /Misc/NEWS.d
parent84f7afe65c29330f3ff8e318e054b96554a2dede (diff)
downloadcpython-01806d5beba3d208bb56adba6829097d803bf54f.zip
cpython-01806d5beba3d208bb56adba6829097d803bf54f.tar.gz
cpython-01806d5beba3d208bb56adba6829097d803bf54f.tar.bz2
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
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2021-02-20-12-15-29.bpo-43260.6znAas.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-02-20-12-15-29.bpo-43260.6znAas.rst b/Misc/NEWS.d/next/Library/2021-02-20-12-15-29.bpo-43260.6znAas.rst
new file mode 100644
index 0000000..f3c21d1
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2021-02-20-12-15-29.bpo-43260.6znAas.rst
@@ -0,0 +1,2 @@
+Fix TextIOWrapper can not flush internal buffer forever after very large
+text is written.