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.

作者 vstinner
收信人 Arfrever, amaury.forgeotdarc, berwin22, chris.jerdonek, eric.araujo, mark, martin.panter, mightyiam, ncoghlan, pitrou, r.david.murray, segfaulthunter, srid, steve.dower, vstinner
日期 2016-09-06.04:44:05
SpamBayes Score -1.0
Marked as misclassified
Message-id <CAMpsgwacqLWg8ow1buY+9Lu69knQhBbVbw=dd2wKpqFW8ZxHUw@mail.gmail.com>
In-reply-to <1473134059.35.0.238963184101.issue6135@psf.upfronthosting.co.za>
内容
Martin Panter added the comment:
> Also, should encoding=... or errors=... be an error if universal_newlines=False (the default)?

Right. But if encoding or errors is used, universal_newlines value
should be set automatically to True.

For example, I expect Unicode when writing:

output = subprocess.call(cmd, stdout=subprocess.PIPE, encoding='utf8').stdout
历史
日期 用户 动作 参数
2016-09-06 04:44:05vstinner修改recipients: + vstinner, amaury.forgeotdarc, ncoghlan, pitrou, mark, eric.araujo, segfaulthunter, Arfrever, r.david.murray, srid, mightyiam, chris.jerdonek, martin.panter, steve.dower, berwin22
2016-09-06 04:44:05vstinner链接issue6135 messages
2016-09-06 04:44:05vstinner创建