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.
........
This commit is contained in:
Alexander Belopolsky 2010-07-20 20:13:45 +00:00
parent aebd6f4c29
commit 13aeb3628e
3 changed files with 6 additions and 1 deletions

View file

@ -257,7 +257,8 @@ class CoverageResults:
if self.calledfuncs: if self.calledfuncs:
print() print()
print("functions called:") 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" print(("filename: %s, modulename: %s, funcname: %s"
% (filename, modulename, funcname))) % (filename, modulename, funcname)))

View file

@ -60,6 +60,7 @@ Reimer Behrends
Ben Bell Ben Bell
Thomas Bellman Thomas Bellman
Alexander Belopolsky Alexander Belopolsky
Eli Bendersky
Andrew Bennetts Andrew Bennetts
Andy Bensky Andy Bensky
Michel Van den Bergh Michel Van den Bergh

View file

@ -78,6 +78,9 @@ C-API
Library 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 - Issue #1555570: email no longer inserts extra blank lines when a \r\n
combo crosses an 8192 byte boundary. combo crosses an 8192 byte boundary.