New submission from Andrew Svetlov <andrew.svet...@gmail.com>:
_format_handle() behaves differently if handle._callback.__self__ is asyncio.Task instance. To follow this logic TaskWakeupMethWrapper from _asynciomodule.c should support the corresponding member. The fix is very desired for analyzing slow callbacks, without it the output doesn't point on slow coroutine but mentions <TaskWakeupMethWrapper at 0x...> only. See also #38608 ---------- components: asyncio messages: 357913 nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Suppport TaskWakeupMethWrapper.__self__ to conform asyncio _format_handle logic versions: Python 3.7, Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38986> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com