Lines Matching refs:PyErr_Occurred
253 if (result == NULL && !PyErr_Occurred()) { in dict_getitem_knownhash()
352 if ((hash == -1) && PyErr_Occurred()) { in test_lazy_hash_inheritance()
476 if (value == -1 && PyErr_Occurred()) in test_long_and_overflow()
503 if (value == -1 && PyErr_Occurred()) in test_long_and_overflow()
520 if (value == -1 && PyErr_Occurred()) in test_long_and_overflow()
547 if (value == -1 && PyErr_Occurred()) in test_long_and_overflow()
563 if (value == -1 && PyErr_Occurred()) in test_long_and_overflow()
578 if (value == -1 && PyErr_Occurred()) in test_long_and_overflow()
593 if (value == -1 && PyErr_Occurred()) in test_long_and_overflow()
608 if (value == -1 && PyErr_Occurred()) in test_long_and_overflow()
641 if (value == -1 && PyErr_Occurred()) in test_long_long_and_overflow()
668 if (value == -1 && PyErr_Occurred()) in test_long_long_and_overflow()
685 if (value == -1 && PyErr_Occurred()) in test_long_long_and_overflow()
712 if (value == -1 && PyErr_Occurred()) in test_long_long_and_overflow()
728 if (value == -1 && PyErr_Occurred()) in test_long_long_and_overflow()
743 if (value == -1 && PyErr_Occurred()) in test_long_long_and_overflow()
758 if (value == -1 && PyErr_Occurred()) in test_long_long_and_overflow()
773 if (value == -1 && PyErr_Occurred()) in test_long_long_and_overflow()
800 if (out_u != (size_t)-1 || !PyErr_Occurred()) in test_long_as_size_t()
810 if (out_s != (Py_ssize_t)-1 || !PyErr_Occurred()) in test_long_as_size_t()
835 if (out != -1.0 || !PyErr_Occurred()) in test_long_as_double()
932 if (res != NULL || !PyErr_Occurred()) { in test_buildvalue_N_error()
1769 if (PyErr_Occurred()) in test_widechar()
2406 if (result == -1.0 && PyErr_Occurred()) \ in test_string_to_double()
2415 if (result == -1.0 && PyErr_Occurred()) { \ in test_string_to_double()
2518 if (!PyErr_Occurred()) { in test_capsule()
2565 if (!PyErr_Occurred()) { in test_capsule()
2910 match = PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_BufferError); in test_pep3118_obsolete_write_locks()
2923 match = PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_BufferError); in test_pep3118_obsolete_write_locks()
3608 if (PyErr_Occurred()) in pymarshal_write_long_to_file()
3634 if (PyErr_Occurred()) in pymarshal_write_object_to_file()
3660 if (PyErr_Occurred()) in pymarshal_read_short_from_file()
3685 if (PyErr_Occurred()) in pymarshal_read_long_from_file()
3955 if (PyErr_Occurred()) in tracemalloc_track()
3986 if (PyErr_Occurred()) in tracemalloc_untrack()
4008 if (PyErr_Occurred()) in tracemalloc_get_traceback()