summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2021-02-22 01:38:17 (GMT)
committerGitHub <noreply@github.com>2021-02-22 01:38:17 (GMT)
commit6e2f144f53982d7103d4cfc2d9361fc445a1817e (patch)
treeef6a94ecc85d35f0dda20e327cde61ad0a77c703 /Python/pythonrun.c
parent6ddb25586524022923d076ddb3b5867214c6ce42 (diff)
downloadcpython-6e2f144f53982d7103d4cfc2d9361fc445a1817e.zip
cpython-6e2f144f53982d7103d4cfc2d9361fc445a1817e.tar.gz
cpython-6e2f144f53982d7103d4cfc2d9361fc445a1817e.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. (cherry picked from commit 01806d5beba3d208bb56adba6829097d803bf54f)
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions