Alejandro Santos
1ef2fb42a7
compat: use 'key' argument instead of 'cmp' when sorting a list
2009-07-05 11:02:00 +02:00
Peter Arrenbrecht
19591b6a8c
cleanup: drop unused assignments
2009-03-23 13:13:06 +01:00
Dirkjan Ochtman
574603a8c0
use dict.iteritems() rather than dict.items()
...
This should be faster and more future-proof. Calls where the result is to be
sorted using util.sort() have been left unchanged. Calls to .items() on
configparser objects have been left as-is, too.
2009-01-12 09:16:03 +01:00
Peter Ruibal
30a2036f9e
use Exception(args)-style raising consistently (py3k compatibility)
2008-09-08 13:07:00 +02:00
Joel Rosdahl
4f8012378a
Remove unused imports
2008-03-06 22:23:41 +01:00
Dirkjan Ochtman
ac2a5adcee
updating lsprof.py from remote repository
2008-02-01 10:31:09 +01:00
Vadim Gelfer
fc206d2a40
do not try to package lsprof if not available.
2006-06-23 19:20:22 -07:00
Vadim Gelfer
8861256257
add --lsprof option. 3x faster than --profile, more useful output.
...
results include calls to c code and nested calls.
requires python 2.5 or lsprof installed from svn at
http://codespeak.net/svn/user/arigo/hack/misc/lsprof/
2006-06-09 12:05:17 -07:00