diff options
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-07-20 19:55:18 (GMT) |
---|---|---|
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-07-20 19:55:18 (GMT) |
commit | 533a167a713be4a30b92583636cd2323f4c8c3aa (patch) | |
tree | aee74cf80722fc5c72abe4479220654fc8cdb217 | |
parent | d21886cea4d661ba81b577d4bb0792e4ce0e575a (diff) | |
download | cpython-533a167a713be4a30b92583636cd2323f4c8c3aa.zip cpython-533a167a713be4a30b92583636cd2323f4c8c3aa.tar.gz cpython-533a167a713be4a30b92583636cd2323f4c8c3aa.tar.bz2 |
Issue #9282: Fixed --listfuncs option of trace.py. Thanks Eli
Bendersky for the patch.
-rw-r--r-- | Lib/trace.py | 3 | ||||
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
3 files changed, 6 insertions, 1 deletions
diff --git a/Lib/trace.py b/Lib/trace.py index 9d91fe8..19fdbaa 100644 --- a/Lib/trace.py +++ b/Lib/trace.py @@ -257,7 +257,8 @@ class CoverageResults: if self.calledfuncs: print() print("functions called:") - for filename, modulename, funcname in sorted(calls.keys()): + calls = self.calledfuncs.keys() + for filename, modulename, funcname in sorted(calls): print(("filename: %s, modulename: %s, funcname: %s" % (filename, modulename, funcname))) @@ -63,6 +63,7 @@ Reimer Behrends Ben Bell Thomas Bellman Alexander Belopolsky +Eli Bendersky Andrew Bennetts Andy Bensky Michel Van den Bergh @@ -473,6 +473,9 @@ C-API Library ------- +- Issue #9282: Fixed --listfuncs option of trace.py. Thanks Eli + Bendersky for the patch. + - Issue #3704: http.cookiejar was not properly handling URLs with a / in the parameters. |