commit | 7fed7bd8bb628f0f09c6011871a4ce68afb41b18 | [log] [tgz] |
---|---|---|
author | andyclegg <andy2.0@gmail.com> | Mon Oct 23 03:01:19 2017 +0100 |
committer | Gregory P. Smith <greg@krypto.org> | Sun Oct 22 19:01:19 2017 -0700 |
tree | a89c99e634133cae2dc33671182f8f4ae0723226 | |
parent | ae3087c6382011c47db82fea4d05f8bbf514265d [diff] |
bpo-31756: subprocess.run should alias universal_newlines to text (#4049) Improve human friendliness of the Popen API: Add text=False as a keyword-only argument to subprocess.Popen along with a Popen attribute .text_mode and set this based on the encoding/errors/universal_newlines/text arguments. The universal_newlines parameter and attribute are maintained for backwards compatibility.