Benjamin Mintz
850a0431bf
Catch asyncio.CancelledError in 3.8 in typing context manager
...
In python 3.8, asyncio.CancelledError is a subclass of BaseException
rather than Exception, so `except Exception:` will not swallow
CancelledError. This change prevents an error in 3.8 from being printed
to the console when the following is run:
```
async with ctx.typing():
pass
```
2019-06-20 22:51:28 -04:00
..
2018-01-26 12:46:19 -05:00
2019-06-12 23:40:43 -04:00
2019-06-09 21:51:43 -04:00
2019-04-16 18:13:57 -04:00
2019-06-09 00:23:22 -04:00
2019-05-26 02:32:47 -04:00
2019-05-13 20:29:08 -04:00
2019-06-07 19:27:46 -04:00
2019-06-07 19:27:46 -04:00
2019-06-07 19:27:46 -04:00
2019-06-07 19:27:46 -04:00
2019-06-09 00:23:22 -04:00
2019-06-12 00:47:42 -04:00
2019-06-07 19:27:46 -04:00
2019-06-20 22:51:28 -04:00
2019-06-07 19:27:46 -04:00
2019-06-07 19:27:46 -04:00
2019-06-09 08:13:29 -04:00
2019-06-07 19:27:46 -04:00
2019-06-07 19:27:46 -04:00
2019-06-07 19:27:46 -04:00
2019-06-12 00:47:42 -04:00
2019-06-07 19:12:59 -04:00
2019-06-07 19:27:46 -04:00
2019-06-07 19:27:46 -04:00
2019-06-11 21:13:43 +02:00
2019-06-07 22:18:01 -04:00
2019-01-28 22:22:50 -05:00
2019-06-07 19:27:46 -04:00
2019-06-07 19:27:46 -04:00
2019-06-07 19:27:46 -04:00
2019-06-07 19:27:46 -04:00
2019-06-07 19:27:46 -04:00
2019-06-07 19:27:46 -04:00
2019-01-28 22:22:50 -05:00
2019-06-07 19:27:46 -04:00
2019-06-12 00:47:42 -04:00
2019-06-09 00:23:22 -04:00
2019-06-07 19:27:46 -04:00
2019-06-07 19:27:46 -04:00
2019-06-07 19:27:46 -04:00
2019-06-07 19:27:46 -04:00
2019-06-07 19:27:46 -04:00