Message133524
Would you like to display lambdas as well?
>>> dis('lambda x: x**2')
1 0 LOAD_CONST 0 (<code object <lambda> at 0x1005c9ad0, file "<dis>", line 1>)
3 MAKE_FUNCTION 0
6 RETURN_VALUE
<code object <lambda> at 0x1005cb140, file "<dis>", line 1>:
1 0 LOAD_FAST 0 (x)
3 LOAD_CONST 1 (2)
6 BINARY_POWER
7 RETURN_VALUE
I like the idea, but would rather see code objects expanded in-line, possibly indented rather than at the end. |
|
Date |
User |
Action |
Args |
2011-04-11 14:42:04 | belopolsky | set | recipients:
+ belopolsky, rhettinger |
2011-04-11 14:42:04 | belopolsky | set | messageid: <1302532924.71.0.981181549516.issue11822@psf.upfronthosting.co.za> |
2011-04-11 14:42:04 | belopolsky | link | issue11822 messages |
2011-04-11 14:42:03 | belopolsky | create | |
|