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-16 09:13:08 -07:00
2016-12-19 23:51:21 -08:00
2017-03-22 10:50:15 -07:00
2017-01-26 12:05:53 -08:00
2017-01-13 13:59:07 -08:00
2017-03-22 07:33:06 -07: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
2017-03-22 21:04:39 -07:00
2017-03-22 21:04:39 -07:00
2016-12-19 21:52:56 -08:00
2016-12-19 23:53:19 -08:00
2016-12-20 01:39:18 -08:00
2016-10-26 16:24:49 -07:00
2017-03-07 16:42:06 -08:00
2017-03-13 07:32:40 -07:00
2017-01-17 09:49:41 -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
2017-01-11 17:24:14 -08:00
2016-12-21 01:06:52 -08:00
2017-02-01 09:23:43 -08:00
2016-11-23 12:14:03 +00:00
2017-03-18 15:16:56 -07:00
2017-03-13 17:24:34 -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
2017-01-27 16:03:25 +00:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-11-05 16:33:58 -07:00
2016-10-26 16:24:49 -07:00
2016-12-19 23:53:19 -08:00
2017-02-22 20:15:35 -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-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
2017-02-06 17:24:48 -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-02-06 08:19:14 -08:00
2017-03-19 09:43:40 -07:00
2017-03-22 07:35:21 -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
2017-03-10 20:24:20 -08: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-20 01:39:18 -08:00
2016-12-19 23:53:19 -08:00
2017-01-31 14:56:48 -08:00
2016-12-20 01:02:59 -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
2017-03-23 10:30:48 -07: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-12-07 14:47:34 -08:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2017-03-14 11:45:09 -07: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-24 08:23:36 -07: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
2017-02-07 16:22:47 -08:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2017-03-16 09:13:08 -07:00
2017-03-21 22:30:27 -07:00
2017-03-21 23:10:19 -07:00
2017-03-19 12:47:58 -07:00
2016-12-19 22:09:35 -08:00
2016-12-19 23:53:19 -08:00
2017-01-20 07:41:54 -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