Nadir Chowdhury
89456022cf
Add __all__
to remaining modules
2021-04-07 02:30:32 -04:00
Rapptz
9d39b135f4
Modernize code to use f-strings
...
This also removes the encoding on the top, since Python 3 does it by
default. It also changes some methods to use `yield from`.
2021-04-04 07:03:53 -04:00
Nihaal Sangha
69bdc3a184
Change copyright year to present
2021-01-15 05:28:11 -05:00
Rapptz
6071607176
Bump copyright year to 2020
...
Closes #2510
2020-01-19 20:03:00 -05:00
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
Dante Dam
9656a21ebe
Bumped copyright years to 2019.
2019-01-28 22:22:50 -05:00
Hornwitser
a71b3b5fa0
[lint] Limit unneccessarily broad except clauses
...
Add exception qualifier(s) to bare except clauses swallowing exceptions.
2018-11-24 22:17:57 -05:00
Rapptz
e51f92e78d
Fix NameError for typing context manager.
...
Fixes #1342
2018-06-10 18:30:32 -04:00
Rapptz
c67d95327e
Remove dead package references.
2018-06-10 18:16:40 -04:00
Rapptz
f25091efe1
Drop support for Python 3.4 and make minimum version 3.5.2.
2018-06-10 18:10:00 -04:00
Rapptz
22150b20b6
Start typing immediately when using async typing context manager.
2017-04-12 21:26:23 -04:00
Rapptz
ff9f5749e1
Update copyright year to 2017.
2017-01-20 23:19:19 -05:00
Rapptz
94655c77c0
Fix Messageable.typing context manager.
2017-01-03 20:24:42 -05:00
Rapptz
1070cf0735
Add MessageChannel.typing context manager for prolonged typing.
2017-01-03 09:51:52 -05:00