Martin Panter <vadmium...@gmail.com> added the comment:

It is documented that buffering=0 is not supported in text mode. Look a handful 
of paragraphs down from 
<https://docs.python.org/release/3.7.2/library/functions.html#open>:

“Pass 0 to switch buffering off (only allowed in binary mode)”

Amaury’s problem with the IDNA buffering encoder has now been reported 
separately in Issue 35611.

----------
nosy: +martin.panter

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

Reply via email to