New submission from Andrew Svetlov <andrew.svet...@gmail.com>:
Currently both helper classes have no custom tp_repr slot, it leads to
autogenerated <TaskWakeupMethWrapper at 0x....> values.
Both helpers are private but in debug mode asyncio loop reports about slow
callbacks, the message doesn't point on executed coroutine -- it just prints
'Executing <TaskWakeupMethWrapper at 0x....> took 0.203 seconds'.
The only way to figure out what coroutine is slow is monkey-patching CTask
implementation back to PyTask usage.
Sure, the method is too obscure for newbies.
nosy: asvetlov, yselivanov
title: Improve _asyncio.TaskStepMethWrapper and TaskWakeupMethWrapper reprs
versions: Python 3.8
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list