Files
typeshed/stdlib/2
Josiah Boning 62f57e4cef Improve types for subprocess module (#1059)
* Improve types for CalledProcessError

This adds union types in the constructor to account for parameters that
might be either byte strings or unicode strings. At the same time, this
*removes* specific types from the user-accessible fields, to avoid the
need for users to at every use site specify which types their particular
instance was instantiated with.

* remove 'moral' comments; add List import; change 'str' to 'Text'

* import Text

* List -> Sequence; reinsert 'moral' comments

* Regularize string types everywhere

This defines _TXT and _CMD aliases, and uses them everywhere applicable.

Also brings the _FILE alias to python3.

* fix typo; possibly fix indentation

* remove trailing comma, which caused problems in python 2 tests

* fix py2 outputs to be bytes; tweak descriptive comments; remove one AnyStr
2017-03-24 08:23:36 -07:00
..
2016-10-26 16:24:49 -07:00
2016-12-20 00:16:44 -08:00
2017-03-22 10:50:15 -07:00
2017-01-26 12:05:53 -08:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2016-12-19 23:53:19 -08:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-12-19 21:52:56 -08:00
2016-12-19 23:53:19 -08:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-12-21 01:06:52 -08:00
2017-03-18 15:16:56 -07:00
2016-12-19 22:09:35 -08:00
2016-11-08 19:39:27 -08:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2017-03-19 09:43:40 -07:00
2017-02-13 20:21:19 -08:00
2017-03-13 09:12:46 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2016-10-26 16:24:49 -07:00
2016-12-19 23:53:19 -08:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2016-12-19 21:52:56 -08:00
2016-12-19 23:53:19 -08:00
2016-10-30 14:51:52 -07:00
2016-10-26 16:24:49 -07:00
2017-03-19 09:43:40 -07:00
2016-12-20 01:54:34 -08:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2016-12-19 21:52:56 -08:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2017-01-31 09:25:45 -08:00
2016-12-20 02:28:12 -08:00
2016-10-26 16:24:49 -07:00
2016-12-19 23:53:19 -08:00
2016-12-19 22:09:35 -08:00
2016-12-19 23:53:19 -08:00
2017-01-31 14:56:48 -08:00
2016-12-19 22:09:35 -08:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2016-12-19 21:52:56 -08:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2016-10-26 16:24:49 -07:00
2017-02-06 17:23:22 -08:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2017-03-19 09:43:40 -07:00
2016-12-19 23:53:19 -08:00
2016-12-19 22:09:35 -08:00
2017-03-23 08:26:45 -07:00
2017-01-04 13:38:05 -08:00
2017-03-12 19:32:46 -07:00
2016-12-19 22:09:35 -08:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2016-10-26 16:24:49 -07:00
2016-12-19 21:52:56 -08:00
2017-02-08 15:19:56 -08:00
2016-12-19 22:09:35 -08:00
2016-12-19 22:09:35 -08:00