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.

作者 ncoghlan
收信人 Arfrever, amaury.forgeotdarc, andrewclegg, berwin22, chris.jerdonek, davispuh, eric.araujo, eryksun, mark, martin.panter, mightyiam, ncoghlan, pitrou, python-dev, r.david.murray, segfaulthunter, srid, steve.dower, vstinner
日期 2017-10-11.08:55:24
SpamBayes Score -1.0
Marked as misclassified
Message-id <1507712125.02.0.213398074469.issue6135@psf.upfronthosting.co.za>
In-reply-to
内容
This discussion should probably be submitted as a new RFE (requesting "text" as a more obvious and beginner friendly alias for universal_newlines), but I'll also add a note regarding precedent for a simple binary/text toggle: the mode settings for open().

There, the default is text (with the default encoding determined by the system), and you have to include "b" in the mode settings to say "I want raw binary".

For the subprocess APIs, the default is different (i.e. binary), so the natural counterpart to the "b" mode flag in open() would be an explicit "text" mode flag.
历史
日期 用户 动作 参数
2017-10-11 08:55:25ncoghlan修改recipients: + ncoghlan, amaury.forgeotdarc, pitrou, vstinner, mark, eric.araujo, segfaulthunter, Arfrever, r.david.murray, srid, mightyiam, andrewclegg, chris.jerdonek, python-dev, martin.panter, eryksun, steve.dower, berwin22, davispuh
2017-10-11 08:55:25ncoghlan修改messageid: <1507712125.02.0.213398074469.issue6135@psf.upfronthosting.co.za>
2017-10-11 08:55:25ncoghlan链接issue6135 messages
2017-10-11 08:55:24ncoghlan创建