Ivan Levkivskyi
fb753c4226
Loosen some types to avoid pain in real-life situations ( #4870 )
...
In this diff:
* Loosen `set.__[i]sub__()` to allow typical use cases (that work at runtime). Namely, allow removing `unicode` from a set of `str`, and allow removing optional values from non-optional sets.
* Avoid using union return types in `cryptography` deserialization functions.
* Tune `SupportsItems` so that `dict` implements it on Python 2.
Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com >
2020-12-29 18:31:14 +00:00
..
2020-12-29 18:31:14 +00:00
2020-10-31 18:34:25 -07:00
2020-08-05 22:49:17 -07:00
2020-06-28 13:31:00 -07:00
2020-10-23 09:40:06 +02:00
2020-10-07 19:02:54 -07:00
2020-06-29 00:00:21 -07:00
2020-07-21 18:14:03 -07:00
2020-06-29 00:00:21 -07:00
2020-10-23 09:40:06 +02:00
2020-08-05 22:49:17 -07:00
2020-11-20 19:02:35 -08:00
2019-12-03 13:17:03 +01:00
2020-10-23 09:40:06 +02:00
2020-10-23 09:40:06 +02:00
2020-06-28 13:31:00 -07:00
2020-06-28 13:31:00 -07:00
2020-12-02 14:58:52 +01:00
2020-10-23 09:40:06 +02:00
2020-06-28 13:31:00 -07:00
2020-10-23 09:40:06 +02:00
2020-06-28 13:31:00 -07:00
2020-10-22 14:05:04 -07:00
2020-10-22 14:05:04 -07:00
2020-06-29 00:00:21 -07:00
2020-06-28 13:31:00 -07:00
2020-12-14 19:17:19 +01:00
2020-10-23 09:40:06 +02:00
2020-06-28 13:31:00 -07:00
2020-06-29 00:00:21 -07:00
2020-08-05 22:49:17 -07:00
2020-10-23 09:40:06 +02:00
2020-06-28 13:31:00 -07:00
2020-10-23 09:40:06 +02:00
2020-06-28 13:31:00 -07:00
2020-10-23 09:40:06 +02:00
2020-06-29 00:00:21 -07:00
2020-06-28 13:31:00 -07:00
2020-10-06 10:28:33 +02:00
2020-06-29 00:00:21 -07:00
2020-10-23 09:40:06 +02:00
2020-10-23 09:40:06 +02:00
2020-10-23 09:40:06 +02:00
2020-10-23 09:40:06 +02:00
2020-09-17 12:04:54 -07:00
2020-10-23 09:40:06 +02:00
2020-10-23 09:40:06 +02:00
2020-12-06 18:44:18 +01:00
2020-12-16 17:38:11 +01:00
2020-06-29 00:00:21 -07:00
2020-06-28 13:31:00 -07:00
2020-08-05 22:49:17 -07:00
2020-06-28 13:31:00 -07:00
2020-06-28 13:31:00 -07:00
2020-10-23 09:40:06 +02:00
2020-06-28 13:31:00 -07:00
2020-06-28 13:31:00 -07:00
2020-06-28 13:31:00 -07:00
2020-10-23 09:40:06 +02:00
2020-10-23 09:40:06 +02:00
2020-06-29 00:00:21 -07:00
2020-10-23 09:40:06 +02:00
2020-10-23 09:40:06 +02:00
2020-10-08 22:20:48 +02:00
2020-06-28 13:31:00 -07:00
2019-10-20 10:37:33 +02:00
2020-10-23 09:40:06 +02:00
2020-10-02 19:58:24 -07:00
2020-06-28 13:31:00 -07:00
2020-08-05 22:49:17 -07:00
2020-06-28 13:31:00 -07:00
2020-10-23 09:40:06 +02:00
2020-10-23 09:40:06 +02:00
2020-10-22 14:05:04 -07:00
2020-06-28 13:31:00 -07:00
2020-06-28 13:31:00 -07:00
2020-10-25 19:58:09 -07:00
2020-10-23 09:40:06 +02:00
2020-06-29 00:00:21 -07:00
2020-06-28 13:31:00 -07:00
2020-09-18 09:20:26 -04:00
2020-08-05 22:49:17 -07:00
2020-06-28 13:31:00 -07:00
2020-10-23 09:40:06 +02:00
2020-06-28 13:31:00 -07:00
2020-10-23 09:40:06 +02:00
2020-10-23 09:40:06 +02:00
2020-06-29 00:00:21 -07:00
2020-06-28 13:31:00 -07:00
2020-09-19 22:59:35 -07:00
2020-10-23 09:40:06 +02:00
2020-09-19 22:59:35 -07:00
2020-12-06 18:44:18 +01:00
2020-10-23 09:40:06 +02:00
2020-10-23 09:40:06 +02:00
2020-06-29 00:00:21 -07:00
2020-10-08 16:09:24 -07:00
2020-10-23 09:40:06 +02:00
2019-06-05 11:59:32 +02:00
2020-10-23 09:40:06 +02:00
2020-06-28 13:31:00 -07:00
2020-08-06 18:27:21 -07:00
2020-10-23 09:40:06 +02:00
2020-10-23 09:40:06 +02:00
2020-10-23 09:40:06 +02:00
2020-06-28 13:31:00 -07:00
2020-06-29 00:00:21 -07:00
2020-08-05 22:49:17 -07:00
2020-10-23 09:40:06 +02:00
2020-10-23 09:40:06 +02:00
2020-06-29 00:00:21 -07:00
2020-12-06 18:44:18 +01:00
2020-10-23 09:40:06 +02:00
2020-08-26 18:36:01 +02:00
2020-10-23 09:40:06 +02:00
2020-10-23 09:40:06 +02:00
2020-10-23 09:40:06 +02:00
2020-06-28 13:31:00 -07:00
2020-08-05 22:49:17 -07:00
2020-06-28 13:31:00 -07:00
2020-06-29 00:00:21 -07:00
2020-07-31 16:55:45 +02:00
2020-10-23 09:40:06 +02:00
2020-10-12 18:24:09 -07:00
2020-06-28 13:31:00 -07:00
2020-12-02 14:58:52 +01:00
2020-10-23 09:40:06 +02:00
2020-10-23 09:40:06 +02:00
2020-08-23 15:42:01 -07:00
2020-06-29 00:00:21 -07:00
2020-06-29 00:00:21 -07:00
2020-10-23 09:40:06 +02:00
2020-06-28 13:31:00 -07:00
2020-06-28 13:31:00 -07:00
2020-10-23 09:40:06 +02:00
2020-10-23 09:40:06 +02:00
2020-08-05 22:49:17 -07:00
2020-10-23 09:40:06 +02:00
2020-10-22 13:31:23 +02:00
2020-08-05 22:49:17 -07:00
2020-06-29 00:00:21 -07:00
2020-10-23 09:40:06 +02:00
2020-11-10 12:01:06 +01:00
2020-10-23 09:40:06 +02:00
2020-10-23 09:40:06 +02:00