Ping should not ignore CancelledError
Open
bug
- Dominant language
- Python
- Stars
- 1.9k
- Forks
- 272
- PR merge metrics
- No merged PRs in 30d
Description
This part:
``` Python
try:
yield from self._execute_command(COMMAND.COM_PING, "")
yield from self._read_ok_packet()
except Exception:
```
In ping function will result in strange behavior on cancelling coroutine. CancelledError should be propagated outside of this try/except without any reconnect.
Contributor guide
Assessment
This issue has not been assessed yet.