25 Jan
2015
25 Jan
'15
11:11 p.m.
On 26 Jan 2015 07:58, "Greg Ewing"
Petr Viktorin wrote:
On Sun, Jan 25, 2015 at 12:55 PM, Neil Girdhar
wrote:
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 Cheers, Nick.
-- Greg
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe:
https://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com