/third_party/boost/libs/python/src/converter/ |
D | from_python.cpp | 107 PyErr_SetObject(PyExc_TypeError, msg.get()); in rvalue_from_python_stage2() 214 PyErr_SetObject(PyExc_TypeError, msg.get()); in throw_no_lvalue_from_python() 238 PyErr_SetObject(PyExc_ReferenceError, msg.get()); in lvalue_result_from_python()
|
D | registry.cpp | 84 PyErr_SetObject(PyExc_TypeError, msg.get()); in to_python()
|
/third_party/boost/libs/python/src/object/ |
D | iterator.cpp | 35 PyErr_SetObject(PyExc_StopIteration, Py_None); in stop_iteration_error()
|
D | pickle_support.cpp | 30 PyErr_SetObject( in instance_reduce()
|
D | class.cpp | 532 PyErr_SetObject(PyExc_RuntimeError, report.ptr()); in get_class()
|
D | function.cpp | 313 PyErr_SetObject(exception.get(), message.ptr()); in argument_error()
|
/third_party/boost/libs/mpi/src/python/ |
D | utility.hpp | 34 PyErr_SetObject(type.ptr(), object(e).ptr()); in operator ()()
|
/third_party/python/Python/ |
D | codecs.c | 668 PyErr_SetObject(PyExceptionInstance_Class(exc), exc); in PyCodec_StrictErrors() 1156 PyErr_SetObject(PyExceptionInstance_Class(exc), exc); in PyCodec_SurrogatePassErrors() 1174 PyErr_SetObject(PyExceptionInstance_Class(exc), exc); in PyCodec_SurrogatePassErrors() 1235 PyErr_SetObject(PyExceptionInstance_Class(exc), exc); in PyCodec_SurrogatePassErrors() 1271 PyErr_SetObject(PyExceptionInstance_Class(exc), exc); in PyCodec_SurrogatePassErrors() 1314 PyErr_SetObject(PyExceptionInstance_Class(exc), exc); in PyCodec_SurrogateEscapeErrors() 1348 PyErr_SetObject(PyExceptionInstance_Class(exc), exc); in PyCodec_SurrogateEscapeErrors()
|
D | context.c | 538 PyErr_SetObject(PyExc_KeyError, key); in context_tp_subscript() 770 PyErr_SetObject(PyExc_LookupError, (PyObject *)var); in contextvar_del() 987 PyErr_SetObject(PyExc_LookupError, (PyObject *)self); in _contextvars_ContextVar_get_impl()
|
/third_party/python/Objects/ |
D | odictobject.c | 674 PyErr_SetObject(PyExc_KeyError, key); in _odict_add_new_node() 1128 PyErr_SetObject(PyExc_KeyError, key); in _odict_popkey_hash() 1255 PyErr_SetObject(PyExc_KeyError, key); in odict_copy() 1323 PyErr_SetObject(PyExc_KeyError, key); in OrderedDict_move_to_end_impl() 1331 PyErr_SetObject(PyExc_KeyError, key); in OrderedDict_move_to_end_impl() 1450 PyErr_SetObject(PyExc_KeyError, key); in odict_repr() 1755 PyErr_SetObject(PyExc_KeyError, di->di_current); in odictiter_nextkey() 1797 PyErr_SetObject(PyExc_KeyError, key); in odictiter_iternext()
|
D | genobject.c | 596 PyErr_SetObject(PyExc_StopIteration, value); in _PyGen_SetStopIterationValue() 612 PyErr_SetObject(PyExc_StopIteration, e); in _PyGen_SetStopIterationValue()
|
/third_party/boost/libs/python/test/ |
D | pickle2.cpp | 72 PyErr_SetObject(PyExc_ValueError, in setstate()
|
D | pickle3.cpp | 75 PyErr_SetObject(PyExc_ValueError, in setstate()
|
/third_party/python/Parser/ |
D | pegen_errors.c | 39 PyErr_SetObject(PyExc_SyntaxError, tuple); in _PyPegen_raise_tokenizer_init_error() 367 PyErr_SetObject(errtype, value); in _PyPegen_raise_error_known_location()
|
/third_party/python/Modules/ |
D | _dbmmodule.c | 142 PyErr_SetObject(PyExc_KeyError, key); in dbm_subscript() 178 PyErr_SetObject(PyExc_KeyError, v); in dbm_ass_sub()
|
D | _gdbmmodule.c | 202 PyErr_SetObject(PyExc_KeyError, key); in gdbm_subscript() 254 PyErr_SetObject(PyExc_KeyError, v); in gdbm_ass_sub()
|
D | _tkinter.c | 341 PyErr_SetObject(Tkinter_TclError, res); in Tkinter_Error() 1583 PyErr_SetObject(Tkinter_TclError, exc_value); in Tkapp_Call() 1857 PyErr_SetObject(exc_type, exc_val); in var_invoke()
|
D | _json.c | 336 PyErr_SetObject(JSONDecodeError, exc); in raise_errmsg() 346 PyErr_SetObject(PyExc_StopIteration, value); in raise_stop_iteration()
|
/third_party/python/Include/ |
D | pyerrors.h | 12 PyAPI_FUNC(void) PyErr_SetObject(PyObject *, PyObject *);
|
/third_party/boost/libs/python/src/numpy/ |
D | ndarray.cpp | 148 PyErr_SetObject(PyExc_IndexError, Py_None); in normalize_index()
|
/third_party/python/Modules/_ctypes/ |
D | callproc.c | 1034 PyErr_SetObject(exc_class, s); in _ctypes_extend_error() 1098 PyErr_SetObject(ComError, obj); in GetComError()
|
/third_party/python/Doc/c-api/ |
D | exceptions.rst | 106 .. c:function:: void PyErr_SetObject(PyObject *type, PyObject *value) 131 This is a shorthand for ``PyErr_SetObject(type, Py_None)``. 156 and then calls ``PyErr_SetObject(type, object)``. On Unix, when the 197 :c:func:`FormatMessage`), and then calls ``PyErr_SetObject(PyExc_WindowsError,
|
/third_party/python/Modules/_sqlite/ |
D | cursor.c | 353 PyErr_SetObject(pysqlite_OperationalError, error_msg); in _pysqlite_fetch_one_row()
|
/third_party/python/Objects/stringlib/ |
D | unicode_format.h | 417 PyErr_SetObject(PyExc_KeyError, key); in get_field_object()
|
/third_party/python/Doc/data/ |
D | stable_abi.dat | 159 function,PyErr_SetObject,3.2,
|