[Python-checkins] cpython (2.7): Issue #14900: Distuguish call count and primitive call count in pstat output.

andrew.svetlov python-checkins at python.org
Sun Oct 7 17:59:39 CEST 2012


http://hg.python.org/cpython/rev/cc3e27b7da41
changeset:   79570:cc3e27b7da41
branch:      2.7
user:        Andrew Svetlov <andrew.svetlov at gmail.com>
date:        Sun Oct 07 18:57:21 2012 +0300
summary:
  Issue #14900: Distuguish call count and primitive call count in pstat output.

Patch by Arne Babenhauserheide.

files:
  Lib/pstats.py |  2 +-
  Misc/ACKS     |  2 ++
  2 files changed, 3 insertions(+), 1 deletions(-)


diff --git a/Lib/pstats.py b/Lib/pstats.py
--- a/Lib/pstats.py
+++ b/Lib/pstats.py
@@ -178,7 +178,7 @@
               "module"    : (((4, 1),              ), "file name"),
               "name"      : (((6, 1),              ), "function name"),
               "nfl"       : (((6, 1),(4, 1),(5, 1),), "name/file/line"),
-              "pcalls"    : (((0,-1),              ), "call count"),
+              "pcalls"    : (((0,-1),              ), "primitive call count"),
               "stdname"   : (((7, 1),              ), "standard name"),
               "time"      : (((2,-1),              ), "internal time"),
               }
diff --git a/Misc/ACKS b/Misc/ACKS
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1,3 +1,4 @@
+
 Acknowledgements
 ----------------
 
@@ -40,6 +41,7 @@
 John Aycock
 Jan-Hein Bührman
 Donovan Baarda
+Arne Babenhauserheide
 Attila Babo
 Alfonso Baciero
 Marcin Bachry

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list