This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients amaury.forgeotdarc, benjamin.peterson, hynek, martin.panter, pitrou, rbcollins, serhiy.storchaka, stutzbach
Date 2018-12-30.00:00:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1546128051.46.0.441587119977.issue17404@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2018-12-30 00:00:52martin.pantersetrecipients: + martin.panter, amaury.forgeotdarc, pitrou, rbcollins, benjamin.peterson, stutzbach, hynek, serhiy.storchaka
2018-12-30 00:00:51martin.pantersetmessageid: <1546128051.46.0.441587119977.issue17404@roundup.psfhosted.org>
2018-12-30 00:00:51martin.panterlinkissue17404 messages
2018-12-30 00:00:51martin.pantercreate