[Python-checkins] cpython (2.7): bltinmod is borrowed, so it shouldn't be decrefed

benjamin.peterson python-checkins at python.org
Mon Feb 6 17:30:19 CET 2012


http://hg.python.org/cpython/rev/5d2244007bd9
changeset:   74808:5d2244007bd9
branch:      2.7
parent:      74802:82c4f094f811
user:        Benjamin Peterson <benjamin at python.org>
date:        Mon Feb 06 11:28:45 2012 -0500
summary:
  bltinmod is borrowed, so it shouldn't be decrefed

files:
  Objects/exceptions.c |  1 -
  1 files changed, 0 insertions(+), 1 deletions(-)


diff --git a/Objects/exceptions.c b/Objects/exceptions.c
--- a/Objects/exceptions.c
+++ b/Objects/exceptions.c
@@ -2210,7 +2210,6 @@
         Py_DECREF(args_tuple);
     }
 
-    Py_DECREF(bltinmod);
 }
 
 void

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


More information about the Python-checkins mailing list