STINNER Victor added the comment:

Oh, I like https://github.com/python/cpython/pull/1667/ 

"If write_through is True, calls to write() are guaranteed not to be buffered: 
any data written on the TextIOWrapper object is immediately handled to its 
underlying binary buffer."

I didn't know write_through. It seems like it was introduced in Python 3.7: 
bpo-30526, commit 3c2817b6884a5fcf792197203f3c26b157210607.

----------
nosy: +haypo

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30404>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to