Message309617
+1 for creating separate issues and linking them from this one - while the risk of breaking anything seems low, if we do cause a regression, multiple issues and PRs provide better traceability than one giant issue for everything.
(I'm also not aware of anyone else actively working on this since Sanyam's cProfile PR, so go ahead and create issues and PRs for any which you're interested in working on)
As far as `dis` specifically goes, while the function name in `dis` is "_test()" and it doesn't provide a meaningful help message, it's a genuinely useful CLI operation: it disassembles whatever file you provide, or `stdin` if you don't provide one:
$ echo "print('Hello')" | python3 -m dis
1 0 LOAD_NAME 0 (print)
2 LOAD_CONST 0 ('Hello')
4 CALL_FUNCTION 1
6 POP_TOP
8 LOAD_CONST 1 (None)
10 RETURN_VALUE
So a `-m` option does make sense in `dis`, but it should probably be accompanied by some other changes as well (like a better name for the private function, and `--help` support). |
|
Date |
User |
Action |
Args |
2018-01-07 13:50:19 | ncoghlan | set | recipients:
+ ncoghlan, georg.brandl, terry.reedy, belopolsky, giampaolo.rodola, eric.araujo, Greg.Slodkowicz, eric.snow, piotr.dobrogost, Segev Finer, mariocj89 |
2018-01-07 13:50:19 | ncoghlan | set | messageid: <1515333019.01.0.467229070634.issue9325@psf.upfronthosting.co.za> |
2018-01-07 13:50:19 | ncoghlan | link | issue9325 messages |
2018-01-07 13:50:18 | ncoghlan | create | |
|