[Python-Dev] Disassembly of generated comprehensions
ncoghlan at gmail.com
Mon Jan 26 00:11:20 CET 2015
On 26 Jan 2015 07:58, "Greg Ewing" <greg.ewing at canterbury.ac.nz> wrote:
> Petr Viktorin wrote:
>> On Sun, Jan 25, 2015 at 12:55 PM, Neil Girdhar <mistersheik at gmail.com>
>>> How do I disassemble a generated comprehension?
>> Put it in a function, then get it from the function's code's constants.
> It would be handy if dis had an option to disassemble nested
> functions like this automatically.
The code for that already exists, but it needs someone with the roundtuits
to put together new tests and docs: http://bugs.python.org/issue11822
> Python-Dev mailing list
> Python-Dev at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev