SIGN IN SIGN UP

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
I
Inada Naoki committed
01806d5beba3d208bb56adba6829097d803bf54f
Parent: 84f7afe
Committed by GitHub <noreply@github.com> on 2/21/2021, 11:29:30 PM