Yury Selivanov added the comment: > IIRC haypo added the check because people called `.call_later()` with > coroutine instead of callback very often.
We'll update asyncio docs in 3.6 with a tutorial to focus on coroutines (not on low-level event loop). This should leave the loop API to advanced users. > But checking in debug mode looks very reasonable to me if it is so expensive. Exactly. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28600> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com