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 steve.dower
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-10.17:06:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507655198.17.0.213398074469.issue6135@psf.upfronthosting.co.za>
In-reply-to
Content
> The commit for this bug (720f0cf580e2) introduces encoding and errors arguments but doesn't actually document what the values of these should be

Do you mean it doesn't document that they take the normal encoding/errors arguments that all the other functions that do character encoding take? Or they don't specify which encoding you should use? The latter is not feasible, and if you mean the former then feel free to open a new issue for documentation.

Having a single "text" parameter is essentially what we had before - a magic option that modifies your data without giving you any ability to do it correctly. This change brought Popen in line with all the other places where we translate OS-level bytes into Python str, and it's done it in exactly the same way.

Also see msg274562 where Nick withdraws his own suggestion of a "text" parameter.
History
Date User Action Args
2017-10-10 17:06:38steve.dowersetrecipients: + steve.dower, amaury.forgeotdarc, ncoghlan, pitrou, vstinner, mark, eric.araujo, segfaulthunter, Arfrever, r.david.murray, srid, mightyiam, andrewclegg, chris.jerdonek, python-dev, martin.panter, eryksun, berwin22, davispuh
2017-10-10 17:06:38steve.dowersetmessageid: <1507655198.17.0.213398074469.issue6135@psf.upfronthosting.co.za>
2017-10-10 17:06:38steve.dowerlinkissue6135 messages
2017-10-10 17:06:38steve.dowercreate