diff options
| author | Inada Naoki <songofacandy@gmail.com> | 2021-02-22 01:32:55 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-22 01:32:55 (GMT) |
| commit | d51436f95bf5978f82d917e53e9a456fdaa83a9d (patch) | |
| tree | 079850b8608542c44004cb085438270a6d77b997 /Lib/test/pydoc_mod.py | |
| parent | 44fe32061d60f4bd9c4fa48c24e3e4ba26033dba (diff) | |
| download | cpython-d51436f95bf5978f82d917e53e9a456fdaa83a9d.zip cpython-d51436f95bf5978f82d917e53e9a456fdaa83a9d.tar.gz cpython-d51436f95bf5978f82d917e53e9a456fdaa83a9d.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 01806d5)
Diffstat (limited to 'Lib/test/pydoc_mod.py')
0 files changed, 0 insertions, 0 deletions
