[New-bugs-announce] [issue25675] doc for BaseEventLoop.run_in_executor() says its a coroutine, but it is not

Ezequiel Alfie report at bugs.python.org
Thu Nov 19 16:56:01 EST 2015


New submission from Ezequiel Alfie:

Doc says:

coroutine BaseEventLoop.run_in_executor(executor, func, *args)
...<more lines>...
    This method is a coroutine.

However, inspecting the code, I find that this function is not a coroutine. Also this function returns a Future instance, this fact should be mentioned in the doc.

----------
components: asyncio
messages: 254939
nosy: ealfie, gvanrossum, haypo, yselivanov
priority: normal
severity: normal
status: open
title: doc for BaseEventLoop.run_in_executor() says its a coroutine, but it is not
type: enhancement
versions: Python 3.4, Python 3.5, Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25675>
_______________________________________


More information about the New-bugs-announce mailing list