Home
last modified time | relevance | path

Searched refs:PyErr_WarnEx (Results 1 – 25 of 48) sorted by relevance

12

/external/python/cpython2/Include/
Dwarnings.h9 PyAPI_FUNC(int) PyErr_WarnEx(PyObject *, const char *, Py_ssize_t);
14 (Py_Py3kWarningFlag ? PyErr_WarnEx(PyExc_DeprecationWarning, msg, stacklevel) : 0)
17 #define PyErr_Warn(category, msg) PyErr_WarnEx(category, msg, 1)
/external/python/cpython3/Include/
Dwarnings.h11 PyAPI_FUNC(int) PyErr_WarnEx(
56 #define PyErr_Warn(category, msg) PyErr_WarnEx(category, msg, 1)
/external/python/cpython3/Python/
Dmodsupport.c348 if (PyErr_WarnEx(PyExc_DeprecationWarning, in do_mkvalue()
401 if (PyErr_WarnEx(PyExc_DeprecationWarning, in do_mkvalue()
439 if (PyErr_WarnEx(PyExc_DeprecationWarning, in do_mkvalue()
Dstructmember.c95 if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0) \
D_warnings.c1187 PyErr_WarnEx(PyObject *category, const char *text, Py_ssize_t stack_level) in PyErr_WarnEx() function
1206 return PyErr_WarnEx(category, text, 1); in PyErr_Warn()
Dgetargs.c679 if (PyErr_WarnEx(PyExc_DeprecationWarning, \ in convertsimple()
1211 if (PyErr_WarnEx(PyExc_DeprecationWarning, in convertsimple()
2613 if (PyErr_WarnEx(PyExc_DeprecationWarning, in skipitem()
Dimport.c1625 if (PyErr_WarnEx(PyExc_ImportWarning, in resolve_name()
1644 if (PyErr_WarnEx(PyExc_ImportWarning, in resolve_name()
/external/python/cpython3/Modules/
Dbinascii.c622 if (PyErr_WarnEx(PyExc_DeprecationWarning, in binascii_a2b_hqx_impl()
715 if (PyErr_WarnEx(PyExc_DeprecationWarning, in binascii_rlecode_hqx_impl()
782 if (PyErr_WarnEx(PyExc_DeprecationWarning, in binascii_b2a_hqx_impl()
842 if (PyErr_WarnEx(PyExc_DeprecationWarning, in binascii_rledecode_hqx_impl()
Dparsermodule.c1156 if (PyErr_WarnEx(PyExc_DeprecationWarning, in PyInit_parser()
/external/python/cpython3/Modules/_io/
D_iomodule.c329 if (PyErr_WarnEx(PyExc_DeprecationWarning, in _io_open_impl()
366 if (PyErr_WarnEx(PyExc_RuntimeWarning, in _io_open_impl()
/external/python/markupsafe/src/markupsafe/
D_speedups.c260 PyErr_WarnEx( in soft_unicode()
/external/python/cpython2/Python/
Dpystrtod.c282 if (PyErr_WarnEx(PyExc_DeprecationWarning, in PyOS_ascii_strtod()
725 if (PyErr_WarnEx(PyExc_DeprecationWarning, in PyOS_ascii_formatd()
D_warnings.c716 PyErr_WarnEx(PyObject *category, const char *text, Py_ssize_t stack_level) in PyErr_WarnEx() function
743 return PyErr_WarnEx(category, text, 1); in PyErr_Warn()
Dceval.c3907 if (PyErr_WarnEx(PyExc_DeprecationWarning, in do_raise()
4852 ret_val = PyErr_WarnEx( in cmp_outcome()
4864 ret_val = PyErr_WarnEx( in cmp_outcome()
4875 ret_val = PyErr_WarnEx( in cmp_outcome()
4887 ret_val = PyErr_WarnEx( in cmp_outcome()
/external/python/cpython2/Doc/c-api/
Dexceptions.rst268 .. c:function:: int PyErr_WarnEx(PyObject *category, char *message, int stacklevel)
274 is the function calling :c:func:`PyErr_WarnEx`, 2 is the function above that,
305 calling :c:func:`PyErr_WarnEx` with a *stacklevel* of 1.
307 Deprecated; use :c:func:`PyErr_WarnEx` instead.
/external/python/cpython3/Modules/_ctypes/
Dcallbacks.c289 if (-1 == PyErr_WarnEx(PyExc_RuntimeWarning, in _CallPythonObject()
/external/python/cpython2/Doc/data/
Drefcounts.dat351 PyErr_WarnEx:int:::
352 PyErr_WarnEx:PyObject*:category:0:
353 PyErr_WarnEx:const char*:message::
354 PyErr_WarnEx:Py_ssize_t:stack_level::
/external/python/cpython3/PC/
Dpython3.def156 PyErr_WarnEx=python39.PyErr_WarnEx
/external/python/cpython2/Modules/
D_struct.c139 if (PyErr_WarnEx( in get_pylong()
145 if (PyErr_WarnEx( in get_pylong()
/external/python/cpython2/Objects/
Dbytesobject.c1418 if (PyErr_WarnEx(PyExc_BytesWarning, in bytes_str()
1583 if (PyErr_WarnEx(PyExc_BytesWarning, in bytes_richcompare()
1596 if (PyErr_WarnEx(PyExc_BytesWarning, in bytes_richcompare()
Dobject.c911 PyErr_WarnEx(PyExc_DeprecationWarning, in try_3way_to_rich_compare()
1778 if (PyErr_WarnEx(PyExc_DeprecationWarning, in merge_list_attr()
/external/python/cpython3/Objects/
Dbytesobject.c1345 if (PyErr_WarnEx(PyExc_BytesWarning, in bytes_str()
1510 if (PyErr_WarnEx(PyExc_BytesWarning, in bytes_richcompare()
1523 if (PyErr_WarnEx(PyExc_BytesWarning, in bytes_richcompare()
Dbytearrayobject.c1000 if (PyErr_WarnEx(PyExc_BytesWarning, in bytearray_str()
1025 if (PyErr_WarnEx(PyExc_BytesWarning, in bytearray_richcompare()
/external/python/cpython3/Doc/data/
Drefcounts.dat734 PyErr_WarnEx:int:::
735 PyErr_WarnEx:PyObject*:category:0:
736 PyErr_WarnEx:const char*:message::
737 PyErr_WarnEx:Py_ssize_t:stack_level::
/external/python/cpython3/Doc/c-api/
Dexceptions.rst304 .. c:function:: int PyErr_WarnEx(PyObject *category, const char *message, Py_ssize_t stack_level)
310 is the function calling :c:func:`PyErr_WarnEx`, 2 is the function above that,
351 Function similar to :c:func:`PyErr_WarnEx`, but use

12