Files
typeshed/stdlib/3
Michael J. Sullivan b43e1d674f Use Literal overloads to give better types to subprocess (#3110)
This gives better types to `subprocess.check_output` and `subprocess.run`
by laboriously overloading using literals.

To support `run`, I turned `CompletedProcess` into `_CompletedProcess[T]`
with `CompletedProcess = _CompletedProcess[Any]`. I could pretty easily
be convinced that it would be better to just make `CompletedProcess`
generic, though.

I'd like to do the same for Popen but need to make mypy support
believing the type of `__new__` in order for that to work.
2019-07-10 14:44:27 -07:00
..
2017-04-24 15:31:29 -07:00
2017-04-24 15:31:29 -07:00
2017-04-30 14:16:30 -07:00
2016-12-20 00:47:51 -08:00
2018-10-24 07:20:53 -07:00
2017-04-24 14:57:26 -07:00
2018-08-18 19:25:48 -07:00
2017-11-13 06:56:24 -08:00
2017-05-31 12:07:21 -07:00
2017-10-08 21:12:19 -07:00