[Python-checkins] r82997 - in python/branches/py3k: Lib/trace.py Misc/ACKS Misc/NEWS

alexander.belopolsky python-checkins at python.org
Tue Jul 20 21:55:19 CEST 2010


Author: alexander.belopolsky
Date: Tue Jul 20 21:55:18 2010
New Revision: 82997

Log:
Issue #9282: Fixed --listfuncs option of trace.py.  Thanks Eli
Bendersky for the patch.


Modified:
   python/branches/py3k/Lib/trace.py
   python/branches/py3k/Misc/ACKS
   python/branches/py3k/Misc/NEWS

Modified: python/branches/py3k/Lib/trace.py
==============================================================================
--- python/branches/py3k/Lib/trace.py	(original)
+++ python/branches/py3k/Lib/trace.py	Tue Jul 20 21:55:18 2010
@@ -257,7 +257,8 @@
         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)))
 

Modified: python/branches/py3k/Misc/ACKS
==============================================================================
--- python/branches/py3k/Misc/ACKS	(original)
+++ python/branches/py3k/Misc/ACKS	Tue Jul 20 21:55:18 2010
@@ -63,6 +63,7 @@
 Ben Bell
 Thomas Bellman
 Alexander Belopolsky
+Eli Bendersky
 Andrew Bennetts
 Andy Bensky
 Michel Van den Bergh

Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS	(original)
+++ python/branches/py3k/Misc/NEWS	Tue Jul 20 21:55:18 2010
@@ -473,6 +473,9 @@
 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.
 


More information about the Python-checkins mailing list