[issue4440] "sort" command doesn't work in pstats if run interactively
A.M. Kuchling
report at bugs.python.org
Fri Apr 2 19:05:12 CEST 2010
A.M. Kuchling <lists at amk.ca> added the comment:
Thanks for your bug report and patch!
The original 2.x version was pretty ugly code with a lambda that used default arguments, so I rewrote the line to be more modern; it now does
' all((x in abbrevs) for x in line.split())'.
Committed my version to trunk to r79603, and to 3.x trunk in r79604.
(A lot of pstats.py is pretty old-looking and could be tied up.)
----------
assignee: -> akuchling
nosy: +akuchling
resolution: -> fixed
status: open -> closed
Added file: http://bugs.python.org/file16737/pstats-simplify.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4440>
_______________________________________
More information about the Python-bugs-list
mailing list