From: Alexander Belopolsky Date: Tue, 20 Jul 2010 19:55:18 +0000 (+0000) Subject: Issue #9282: Fixed --listfuncs option of trace.py. Thanks Eli X-Git-Tag: v3.2a1~157 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=533a167a713be4a30b92583636cd2323f4c8c3aa;p=thirdparty%2FPython%2Fcpython.git Issue #9282: Fixed --listfuncs option of trace.py. Thanks Eli Bendersky for the patch. --- diff --git a/Lib/trace.py b/Lib/trace.py index 9d91fe8de14c..19fdbaa6a453 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 282378949f56..44b813634279 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 e9dbc9999682..ebca7744a50e 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.