summaryrefslogtreecommitdiffstats
path: root/Python/fileutils.c
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 /Python/fileutils.c
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 'Python/fileutils.c')
0 files changed, 0 insertions, 0 deletions