mirror of
https://github.com/python/cpython.git
synced 2026-06-29 22:26:44 -04:00
01806d5beb
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