summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-07-20 20:13:45 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-07-20 20:13:45 (GMT)
commit13aeb3628eab5bbb02acdf86c1dd1a6e1ee840c7 (patch)
tree06616c509f4b673ae483648d5d92ba63c958f4fc
parentaebd6f4c298e4018f8ad3be98815be61f95ba10f (diff)
downloadcpython-13aeb3628eab5bbb02acdf86c1dd1a6e1ee840c7.zip
cpython-13aeb3628eab5bbb02acdf86c1dd1a6e1ee840c7.tar.gz
cpython-13aeb3628eab5bbb02acdf86c1dd1a6e1ee840c7.tar.bz2
Merged revisions 82997 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82997 | alexander.belopolsky | 2010-07-20 15:55:18 -0400 (Tue, 20 Jul 2010) | 3 lines Issue #9282: Fixed --listfuncs option of trace.py. Thanks Eli Bendersky for the patch. ........
-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 e6316b6..c0cca9d 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 93af016..d25eb3a 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -60,6 +60,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 6a273d0..a2fa664 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -78,6 +78,9 @@ C-API
Library
-------
+- Issue #9282: Fixed --listfuncs option of trace.py. Thanks Eli
+ Bendersky for the patch.
+
- Issue #1555570: email no longer inserts extra blank lines when a \r\n
combo crosses an 8192 byte boundary.