[Python-checkins] r46378 - python/branches/sreifschneider-newnewexcept/Objects/exceptions.c

richard.jones python-checkins at python.org
Fri May 26 20:16:01 CEST 2006


Author: richard.jones
Date: Fri May 26 20:16:00 2006
New Revision: 46378

Modified:
   python/branches/sreifschneider-newnewexcept/Objects/exceptions.c
Log:
oops

Modified: python/branches/sreifschneider-newnewexcept/Objects/exceptions.c
==============================================================================
--- python/branches/sreifschneider-newnewexcept/Objects/exceptions.c	(original)
+++ python/branches/sreifschneider-newnewexcept/Objects/exceptions.c	Fri May 26 20:16:00 2006
@@ -28,6 +28,7 @@
     if ((args == NULL || PyTuple_GET_SIZE(args) == 0) &&
             PyExc_StopIterationInst != NULL &&
             type == &_PyExc_StopIteration) {
+        Py_INCREF(PyExc_StopIterationInst);
         return PyExc_StopIterationInst;
     }
 


More information about the Python-checkins mailing list