/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()
|
D | _warnings.c | 689 PyErr_SetObject(category, message); in warn_explicit()
|
D | errors.c | 193 PyErr_SetObject(PyObject *exception, PyObject *value) in PyErr_SetObject() function
|
/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()
|
D | listobject.c | 238 PyErr_SetObject(PyExc_IndexError, indexerr); in PyList_GetItem() 449 PyErr_SetObject(PyExc_IndexError, indexerr); in list_item()
|
/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()
|
D | pegen.c | 327 PyErr_SetObject(PyExc_SyntaxError, tuple); in raise_tokenizer_init_error() 547 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()
|
D | _asynciomodule.c | 623 PyErr_SetObject(asyncio_CancelledError, exc); in future_set_cancelled_error() 849 PyErr_SetObject(PyExceptionInstance_Class(result), result); in _asyncio_Future_result_impl()
|
/third_party/python/Include/ |
D | pyerrors.h | 12 PyAPI_FUNC(void) PyErr_SetObject(PyObject *, PyObject *);
|
/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,
|
D | refcounts.dat | 712 PyErr_SetObject:void::: 713 PyErr_SetObject:PyObject*:type:+1: 714 PyErr_SetObject:PyObject*:value:+1:
|
/third_party/python/PC/ |
D | python3dll.c | 223 EXPORT_FUNC(PyErr_SetObject)
|
/third_party/python/Misc/NEWS.d/ |
D | 3.10.0rc2.rst | 151 Fix bug where ``PyErr_SetObject`` hangs when the current exception has a
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | message.cc | 478 PyErr_SetObject(PyExc_AttributeError, name); in GetClassAttribute() 965 PyErr_SetObject(PyExc_KeyError, extension); in GetExtensionDescriptor()
|
D | descriptor_containers.cc | 273 PyErr_SetObject(PyExc_KeyError, key); in Subscript()
|