Message327009
The actual code receives input by name, but stdin is received in **kwargs. The test is just:
if input is not None:
if 'stdin' in kwargs:
raise ValueError(...)
kwargs['stdin'] = PIPE
Perhaps just change `if 'stdin' in kwargs:` to:
if kwargs.get('stdin') is not None:
so it obeys the documented API (that says stdin defaults to None, and therefore passing stdin=None explicitly should be equivalent to not passing it at all)? |
|
| Date |
User |
Action |
Args |
| 2018-10-03 19:52:55 | josh.r | set | recipients:
+ josh.r, serhiy.storchaka, aecant |
| 2018-10-03 19:52:55 | josh.r | set | messageid: <[email protected]> |
| 2018-10-03 19:52:55 | josh.r | link | issue34886 messages |
| 2018-10-03 19:52:55 | josh.r | create | |
|