A.M. Kuchling <li...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue4440>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to