Lines Matching refs:PyErr_Occurred
23 if (!PyErr_Occurred()) in null_error()
58 assert(len >= 0 || PyErr_Occurred()); in PyObject_Size()
94 assert(PyErr_Occurred()); in PyObject_LengthHint()
106 if (PyErr_Occurred()) { in PyObject_LengthHint()
132 if (res < 0 && PyErr_Occurred()) { in PyObject_LengthHint()
155 assert((item != NULL) ^ (PyErr_Occurred() != NULL)); in PyObject_GetItem()
164 if (key_value == -1 && PyErr_Occurred()) in PyObject_GetItem()
207 if (key_value == -1 && PyErr_Occurred()) in PyObject_SetItem()
239 if (key_value == -1 && PyErr_Occurred()) in PyObject_DelItem()
732 if (!PyErr_Occurred()) in PyObject_Format()
975 if (count == -1 && PyErr_Occurred()) in sequence_repeat()
1307 if (result != -1 || !(runerr = PyErr_Occurred())) in PyNumber_AsSsize_t()
1394 if (PyErr_Occurred()) in PyNumber_Long()
1524 assert(len >= 0 || PyErr_Occurred()); in PySequence_Size()
1665 assert(PyErr_Occurred()); in PySequence_GetItem()
1716 assert(PyErr_Occurred()); in PySequence_SetItem()
1745 assert(PyErr_Occurred()); in PySequence_DelItem()
1848 if (PyErr_Occurred()) in PySequence_Tuple()
1970 if (PyErr_Occurred()) in _PySequence_IterSearch()
2086 assert(len >= 0 || PyErr_Occurred()); in PyMapping_Size()
2294 if (PyErr_Occurred()) in abstract_issubclass()
2325 if (!PyErr_Occurred()) in check_class()
2422 else if (PyErr_Occurred()) in PyObject_IsInstance()
2496 else if (PyErr_Occurred()) in PyObject_IsSubclass()
2554 PyErr_Occurred() && in PyIter_Next()