From 533a167a713be4a30b92583636cd2323f4c8c3aa Mon Sep 17 00:00:00 2001 From: Alexander Belopolsky Date: Tue, 20 Jul 2010 19:55:18 +0000 Subject: Issue #9282: Fixed --listfuncs option of trace.py. Thanks Eli Bendersky for the patch. --- Lib/trace.py | 3 ++- Misc/ACKS | 1 + Misc/NEWS | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) 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))) diff --git a/Misc/ACKS b/Misc/ACKS index 2823789..44b8136 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -63,6 +63,7 @@ Reimer Behrends Ben Bell Thomas Bellman Alexander Belopolsky +Eli Bendersky Andrew Bennetts Andy Bensky Michel Van den Bergh diff --git a/Misc/NEWS b/Misc/NEWS index e9dbc99..ebca774 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -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. -- cgit v0.12