[Python-checkins] cpython (2.7): Remove accidentally-committed debugging code.

mark.dickinson python-checkins at python.org
Sun Apr 15 17:45:35 CEST 2012


http://hg.python.org/cpython/rev/bfe2d1acc09d
changeset:   76326:bfe2d1acc09d
branch:      2.7
user:        Mark Dickinson <mdickinson at enthought.com>
date:        Sun Apr 15 16:45:31 2012 +0100
summary:
  Remove accidentally-committed debugging code.

files:
  Modules/_bisectmodule.c |  3 ---
  1 files changed, 0 insertions(+), 3 deletions(-)


diff --git a/Modules/_bisectmodule.c b/Modules/_bisectmodule.c
--- a/Modules/_bisectmodule.c
+++ b/Modules/_bisectmodule.c
@@ -24,9 +24,6 @@
         /* The (size_t)cast ensures that the addition and subsequent division
            are performed as unsigned operations, avoiding difficulties from
            signed overflow.  (See issue 13496.) */
-        printf("lo: %d\n", lo);
-        printf("hi: %d\n", hi);
-        printf("mid: %d\n", mid);
         mid = ((size_t)lo + hi) / 2;
         litem = PySequence_GetItem(list, mid);
         if (litem == NULL)

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


More information about the Python-checkins mailing list