[issue24400] Awaitable ABC incompatible with functools.singledispatch

Nick Coghlan report at bugs.python.org
Fri Jun 19 07:09:09 CEST 2015


Nick Coghlan added the comment:

In my last set of review comments, I suggested changing the Python level attributes for coroutine objects to cr_frame, cr_code, and cr_running.

That reminded me that now that coroutines are their own type, we should also give them their own state introspection API, matching the API for generators: https://docs.python.org/3/library/inspect.html#current-state-of-a-generator

----------

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


More information about the Python-bugs-list mailing list