summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/trace.py3
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS3
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)))
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.