[New-bugs-announce] [issue39027] run_coroutine_threadsafe uses wrong TimeoutError

janust report at bugs.python.org
Wed Dec 11 17:04:07 EST 2019


New submission from janust <ysangkok at gmail.com>:

https://docs.python.org/3.8/library/asyncio-task.html#asyncio.run_coroutine_threadsafe has a code example that catches a asyncio.TimeoutError from run_coroutine_threadsafe. In Python 3.7, this exception was equal to concurrent.futures.TimeoutError, but since https://github.com/python/cpython/commit/431b540bf79f0982559b1b0e420b1b085f667bb7 that is not the case anymore.

----------
assignee: docs at python
components: Documentation
messages: 358281
nosy: docs at python, janust
priority: normal
severity: normal
status: open
title: run_coroutine_threadsafe uses wrong TimeoutError
versions: Python 3.8, Python 3.9

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


More information about the New-bugs-announce mailing list