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 ncoghlan
Recipients 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
Date 2017-10-11.08:55:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507712125.02.0.213398074469.issue6135@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-10-11 08:55:25ncoghlansetrecipients: + 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:25ncoghlansetmessageid: <1507712125.02.0.213398074469.issue6135@psf.upfronthosting.co.za>
2017-10-11 08:55:25ncoghlanlinkissue6135 messages
2017-10-11 08:55:24ncoghlancreate