equal
deleted
inserted
replaced
1141 if (includepatharg == Py_True) |
1141 if (includepatharg == Py_True) |
1142 includepath = 1; |
1142 includepath = 1; |
1143 |
1143 |
1144 /* Initialize return set */ |
1144 /* Initialize return set */ |
1145 reachable = PySet_New(0); |
1145 reachable = PySet_New(0); |
1146 if (reachable == NULL) |
1146 if (reachable == NULL) { |
|
1147 PyErr_NoMemory(); |
1147 goto bail; |
1148 goto bail; |
|
1149 } |
1148 |
1150 |
1149 /* Initialize internal datastructures */ |
1151 /* Initialize internal datastructures */ |
1150 tovisit = (int *)malloc((len + 1) * sizeof(int)); |
1152 tovisit = (int *)malloc((len + 1) * sizeof(int)); |
1151 if (tovisit == NULL) { |
1153 if (tovisit == NULL) { |
1152 PyErr_SetNone(PyExc_MemoryError); |
1154 PyErr_SetNone(PyExc_MemoryError); |