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.

Author aecant
Recipients aecant, serhiy.storchaka
Date 2018-10-03.19:22:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538594577.58.0.545547206417.issue34886@psf.upfronthosting.co.za>
In-reply-to
Content
subprocess.run('ls', input=b'', stdin=None) # this is ok

kwargs = {'input': b'', 'stdin': None}
subprocess.run('ls', **kwargs) # this throws exception

The two calls should have the same behaviour, but one throws exception and the other doesn't. I think the exception shouldn't be thrown, because stdin is None.
History
Date User Action Args
2018-10-03 19:22:57aecantsetrecipients: + aecant, serhiy.storchaka
2018-10-03 19:22:57aecantsetmessageid: <1538594577.58.0.545547206417.issue34886@psf.upfronthosting.co.za>
2018-10-03 19:22:57aecantlinkissue34886 messages
2018-10-03 19:22:57aecantcreate