Skip to content

Commit

Permalink
Add more supported parameters to subprocess.check_output
Browse files Browse the repository at this point in the history
Close #722
  • Loading branch information
PCManticore committed Nov 17, 2019
1 parent 4190113 commit 060fc2f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ Release Date: TBA

* Allow inferring positional only arguments.

* Add more supported parameters to ``subprocess.check_output``

Close #722

* Infer args unpacking of ``self``

Certain stdlib modules use ``*args`` to encapsulate
Expand Down
12 changes: 10 additions & 2 deletions astroid/brain/brain_subprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ def __exit__(self, *args): pass
universal_newlines=False,
timeout=None,
env=None,
text=None
text=None,
restore_signals=True,
preexec_fn=None,
pass_fds=(),
start_new_session=False
):
""".strip()
else:
Expand All @@ -85,7 +89,11 @@ def __exit__(self, *args): pass
errors=None,
universal_newlines=False,
timeout=None,
env=None
env=None,
restore_signals=True,
preexec_fn=None,
pass_fds=(),
start_new_session=False
):
""".strip()

Expand Down

0 comments on commit 060fc2f

Please sign in to comment.