[issue42413] Replace custom exceptions for timeouts with TimeoutError

Andrew Svetlov report at bugs.python.org
Thu Nov 26 03:32:58 EST 2020


Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:

Pull Request https://github.com/python/cpython/pull/23520/ applies the discussed change to both asyncio and concurrent.futures.

I did the minimally invasive change, libraries still use `asyncio.TimeoutError` and `concurrent.futures.TimeoutError` internally but both names are aliases now.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42413>
_______________________________________


More information about the Python-bugs-list mailing list