[New-bugs-announce] [issue21947] `Dis` module doesn't know how to disassemble generators

hakril report at bugs.python.org
Wed Jul 9 16:28:29 CEST 2014


New submission from hakril:

The `dis` module doesn't know how to disassemble generator object because it has no idea about the `gi_code` attribute.
I made a (very) little patch to change this behavior.

If there is a valid reason to not let the `dis` module disassemble generator, I would be glad to know it.

----------
components: Extension Modules
files: dis_generator.patch
keywords: patch
messages: 222619
nosy: hakril
priority: normal
severity: normal
status: open
title: `Dis` module doesn't know how to disassemble generators
type: enhancement
versions: Python 3.5
Added file: http://bugs.python.org/file35914/dis_generator.patch

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


More information about the New-bugs-announce mailing list