Matthias Kramm
7bef3added
Merge pull request #297 from alvarocaceres/subprocess
...
Fix signatures of call, check_call and check_output in subprocess
2016-07-06 10:54:01 -07:00
Eklavya Sharma
15714bb0e8
Set a default value for output in CalledProcessError.__init__ ( #329 )
2016-07-02 07:40:09 -07:00
Alvaro Caceres
5886a5dfcd
Fix signatures of call, check_call and check_output in subprocess
2016-06-15 13:34:02 -05:00
Tim Abbott
ea734c69d0
Fix subprocess stubs ( #198 )
...
* subprocess.CalledProcessError output argument is optional.
* subprocess.CalledProcessError takes stderr argument in python3.
* subprocess: Fix type for command in call() and friends.
The stubs didn't correctly support the fact that you can pass a string
as well as a sequence of strings.
2016-05-12 14:45:23 -07:00
Ben Darnell
f08160bd4c
subprocess: make output argument to CalledProcessError optional
2016-04-11 00:27:58 -04:00
Guido van Rossum
54ba6d9b73
Fix typos: termina[ta]te().
2016-03-09 09:21:15 -08:00
Matthias Kramm
94c9ce8fd0
Consistently use '= ...' for optional parameters.
2015-11-09 13:55:02 -08:00
Matthias Kramm
d2a3d4a4ed
Use explicit "# type: str" instead of '' shortcut.
2015-11-09 07:59:24 -08:00
Matthias Kramm
c59a54a81a
apply subprocess 'cwd' fix from Vlad-Shcherbina
2015-10-07 08:41:07 -07:00
Matthias Kramm
337abed05a
add (overwrite with) mypy stubs, if available
2015-09-30 09:59:44 -07:00