Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#15317 - [python] profile and cProfile modules does not take option "sort" values properly
Attached to Project:
Arch Linux
Opened by Roy Zuo (roylez) - Tuesday, 30 June 2009, 01:40 GMT
Last edited by Allan McRae (Allan) - Thursday, 02 July 2009, 15:33 GMT
Opened by Roy Zuo (roylez) - Tuesday, 30 June 2009, 01:40 GMT
Last edited by Allan McRae (Allan) - Thursday, 02 July 2009, 15:33 GMT
|
DetailsDescription:
The "sort" command line should take int values but that is not indicated in the program. i.e.: In /usr/lib/Python2.6/cProfile.py, line 171 parser.add_option('-s', '--sort', dest="sort", 172 help="Sort order when printing to stdout, based on pstats.Stats class", default=-1) change line 171 to as following can fix the problem. parser.add_option('-s', '--sort', dest="sort", type=int, Additional info: * package version(s) Python, all versions Steps to reproduce: simply try the following command: python -m cProfile -s 1 |
This task depends upon
Comment by Allan McRae (Allan) -
Tuesday, 30 June 2009, 02:05 GMT
This is an upstream issue. Please file this upstream (or find an existing report) and post the link here.