]> granicus.if.org Git - python/commit
bpo-34886: Fix subprocess.run handling of exclusive arguments (GH-11727)
authorRémi Lapeyre <remi.lapeyre@henki.fr>
Sat, 8 Jun 2019 14:56:24 +0000 (16:56 +0200)
committerGregory P. Smith <greg@krypto.org>
Sat, 8 Jun 2019 14:56:24 +0000 (07:56 -0700)
commit8cc605acdda5aff250ab4c9b524a7560f90ca9f3
tree289a9ad54d3c8005f3149eab5e373c45c8500577
parenta15a7bcaea54e1845ab2abe27e6f583294cd715b
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.
Lib/subprocess.py
Misc/NEWS.d/next/Library/2019-06-08-16-03-19.bpo-34886.Ov-pc9.rst [new file with mode: 0644]