Issue #9282: Fixed --listfuncs option of trace.py. Thanks Eli

Bendersky for the patch.
This commit is contained in:
Alexander Belopolsky 2010-07-20 19:55:18 +00:00
parent d21886cea4
commit 533a167a71
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

@ -63,6 +63,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

@ -473,6 +473,9 @@ C-API
Library 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 - Issue #3704: http.cookiejar was not properly handling URLs with a / in the
parameters. parameters.