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 <rep...@bugs.python.org>
<http://bugs.python.org/issue21947>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to