Message291780
Yeah, I was mixing this up with getargspec (et al), which get used by IDEs and similar tools. While third party tools do use the disassembler, they typically won't use its display logic directly unless they're just dumping the output to a terminal equivalent.
Given that, a "depth=None" parameter on `dis` and `disassemble` would provide the default behaviour of rendering the entire compilation tree, while still allowing turning off recursion entirely ("depth=0"), or limiting it to a desired number of levels ("depth=1", etc). |
|
Date |
User |
Action |
Args |
2017-04-17 04:42:59 | ncoghlan | set | recipients:
+ ncoghlan, rhettinger, belopolsky, pitrou, vstinner, torsten, berker.peksag, serhiy.storchaka, jleedev, matrixise, Todd Dembrey |
2017-04-17 04:42:59 | ncoghlan | set | messageid: <1492404179.5.0.765148883519.issue11822@psf.upfronthosting.co.za> |
2017-04-17 04:42:59 | ncoghlan | link | issue11822 messages |
2017-04-17 04:42:58 | ncoghlan | create | |
|