[issue31183] `Dis` module doesn't know how to disassemble async generator or coroutine objects

Nick Coghlan report at bugs.python.org
Sat Aug 12 11:18:14 EDT 2017


Nick Coghlan added the comment:

While I agree the line is blurry, extending automatic disassembly to cover new types is currently still considered a new feature in the dis module rather than a bug in the addition of those new types to the language.

Whether or not that's the *right* policy, or if we should consider tweaking it so that oversights in `dis` and `inspect` are treated as bugs in the addition of affected types, would be a question for python-dev (fortunately, the new cherry-pick based workflow means the current PR review can proceed independently of that question).

----------
versions:  -Python 3.6

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


More information about the Python-bugs-list mailing list