[issue24400] Awaitable ABC incompatible with functools.singledispatch

Nick Coghlan report at bugs.python.org
Sat Jun 13 10:49:50 CEST 2015


Nick Coghlan added the comment:

Also worth noting: *adding* state to coroutines that isn't present on generators would be fine, they just need to *start* with a layout that exactly matches PyGenObject, since we'll sometimes process them as one.

We don't need that now, but separating the types provides the future option.

----------

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


More information about the Python-bugs-list mailing list