summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2022-04-30 06:53:29 (GMT)
committerGitHub <noreply@github.com>2022-04-30 06:53:29 (GMT)
commit354ace8b07e7d445fd2de713b6af1271536adce0 (patch)
tree6827337429f78065731f6136975b4bea47dd8e0d /Misc
parentc7b7f12b8609f932a23a9bc96a5de7cd9ecd5723 (diff)
downloadcpython-354ace8b07e7d445fd2de713b6af1271536adce0.zip
cpython-354ace8b07e7d445fd2de713b6af1271536adce0.tar.gz
cpython-354ace8b07e7d445fd2de713b6af1271536adce0.tar.bz2
gh-91954: Emit EncodingWarning from locale and subprocess (GH-91977)
locale.getpreferredencoding() and subprocess.Popen() emit EncodingWarning
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2022-04-27-13-30-26.gh-issue-91954.cC7ga_.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-04-27-13-30-26.gh-issue-91954.cC7ga_.rst b/Misc/NEWS.d/next/Library/2022-04-27-13-30-26.gh-issue-91954.cC7ga_.rst
new file mode 100644
index 0000000..b63db25
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-04-27-13-30-26.gh-issue-91954.cC7ga_.rst
@@ -0,0 +1,2 @@
+Add *encoding* and *errors* arguments to :func:`subprocess.getoutput` and
+:func:`subprocess.getstatusoutput`.