Closed dimaqq closed 7 years ago
Aside from the qualname issue, does this actually work? I guess I can't see any reason why it wouldn't. Hmmm. Interesting.
@dabeaz correct invocation works, wrong invocation dies with 'function' object has no attribute 'send'
, which is consistent...
Made a fix for this.
I was trying to write a proxy, and following works:
While I was getting there I made mistake (forgot to call actual coroutine) and call crashed, which led to another error (which is what this bug is about).
Now, there is
Proxy.__qualname__
per PEP-3155, but there is no such thing asProxy(...).__qualname__
. This magic is not inherited by objects of the class.