[issue28600] asyncio: Optimize loop.call_soon

Andrew Svetlov report at bugs.python.org
Thu Nov 3 14:42:12 EDT 2016


Andrew Svetlov added the comment:

The patch looks good.
IIRC haypo added the check because people called `.call_later()` with coroutine instead of callback very often.

But checking in debug mode looks very reasonable to me if it is so expensive.

----------

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


More information about the Python-bugs-list mailing list