[issue25804] Make Profile.print_stats support sorting by mutiple values

2022-03-16 Thread Daniël van Noord
Daniël van Noord added the comment: @wdv4758h, do you think you will be able to resubmit the patch to Github? This would probably still be a useful addition and some review has already been done. If not, I could pick up the patch and re-submit, but I don't want to take credit for your work un

[issue25804] Make Profile.print_stats support sorting by mutiple values

2016-06-04 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Patch looks good to me -- nosy: +Jelle Zijlstra ___ Python tracker ___ ___ Python-bugs-list mailing

[issue25804] Make Profile.print_stats support sorting by mutiple values

2015-12-05 Thread Chiu-Hsiang Hsu
Chiu-Hsiang Hsu added the comment: Attached refactored patch with tests. -- Added file: http://bugs.python.org/file41249/print_stats_with_test.patch ___ Python tracker ___ __

[issue25804] Make Profile.print_stats support sorting by mutiple values

2015-12-05 Thread SilentGhost
Changes by SilentGhost : -- stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue25804] Make Profile.print_stats support sorting by mutiple values

2015-12-05 Thread SilentGhost
SilentGhost added the comment: It would be good to add test for this. -- nosy: +SilentGhost ___ Python tracker ___ ___ Python-bugs-lis

[issue25804] Make Profile.print_stats support sorting by mutiple values

2015-12-05 Thread SilentGhost
Changes by SilentGhost : -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue25804] Make Profile.print_stats support sorting by mutiple values

2015-12-05 Thread Chiu-Hsiang Hsu
New submission from Chiu-Hsiang Hsu: Currently, the result of profile.run can not easily sort by mutiple values with "sort" keyword argument. Following code will work with this patch. >>> import cProfile >>> cProfile.run('42**42', sort=('tottime', 'stdname')) 3 function calls in 0.000