]> granicus.if.org Git - python/commit
bpo-34886: Fix subprocess.run handling of exclusive arguments (GH-11727)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 8 Jun 2019 15:15:02 +0000 (08:15 -0700)
committerGitHub <noreply@github.com>
Sat, 8 Jun 2019 15:15:02 +0000 (08:15 -0700)
commit6324ac1293b2cf71559869b88f89f510f9a62a8e
tree4e93393ee8fce1b6a4beb2b4b7b6e34def92c50f
parent22b69da4c38042e923d633530bdafc1b5fb94928
bpo-34886: Fix subprocess.run handling of exclusive arguments (GH-11727)

Fix an unintended ValueError from :func:`subprocess.run` when checking for
conflicting `input` and `stdin` or `capture_output` and `stdout` or `stderr` args
when they were explicitly provided but with `None` values within a passed in
`**kwargs` dict rather than as passed directly by name.
(cherry picked from commit 8cc605acdda5aff250ab4c9b524a7560f90ca9f3)

Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr>
Lib/subprocess.py
Misc/NEWS.d/next/Library/2019-06-08-16-03-19.bpo-34886.Ov-pc9.rst [new file with mode: 0644]