[issue24571] [RFE] Add asyncio.call_async API
Antoine Pitrou
report at bugs.python.org
Tue Jul 7 15:01:50 CEST 2015
Antoine Pitrou added the comment:
FWIW:
> The concerns I have with "get_awaitable" are [snip]
I agree with you.
> I've changed the suggestion function name to "call_async"
I disagree. "async" is an extremely overloaded term with no unambiguous meaning (but possible misinterpretations), especially now that Python 3.5 has an "async" keyword (or quasi-keyword? I don't remember :-)).
"call_in_executor" I think was fine. "call_in_thread" would be as well (and would mimick Twisted's own callInThread).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24571>
_______________________________________
More information about the Python-bugs-list
mailing list