George Collins added the comment:
Hm--either/both? I encountered it as a bug ("dis works on my generator object
and my async generator function, why does it break on my async generator
object?") but strictly speaking it's a new feature (just as issue21947 was). To
my mind, adding this level of indirection (finding the code object) for
generators was a bit of a design decision but once it's in for generators it
should be in for async generators and coroutines by analogy.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue31183>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com