Home
last modified time | relevance | path

Searched refs:PyErr_WarnEx (Results 1 – 25 of 44) 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/
Dstructmember.c96 if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0) \
Dsysmodule.c635 if (PyErr_WarnEx(PyExc_DeprecationWarning, in sys_setcheckinterval()
656 if (PyErr_WarnEx(PyExc_DeprecationWarning, in sys_getcheckinterval()
784 if (PyErr_WarnEx(PyExc_DeprecationWarning, in sys_set_coroutine_wrapper()
813 if (PyErr_WarnEx(PyExc_DeprecationWarning, in sys_get_coroutine_wrapper()
1430 if (PyErr_WarnEx(PyExc_DeprecationWarning, in sys_callstats()
D_warnings.c1058 PyErr_WarnEx(PyObject *category, const char *text, Py_ssize_t stack_level) in PyErr_WarnEx() function
1077 return PyErr_WarnEx(category, text, 1); in PyErr_Warn()
Dimport.c1518 if (PyErr_WarnEx(PyExc_ImportWarning, in resolve_name()
1537 if (PyErr_WarnEx(PyExc_ImportWarning, in resolve_name()
/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/_io/
D_iomodule.c330 if (PyErr_WarnEx(PyExc_DeprecationWarning, in _io_open_impl()
/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/Modules/_ctypes/
Dcallbacks.c273 if (-1 == PyErr_WarnEx(PyExc_RuntimeWarning, in _CallPythonObject()
/external/python/cpython3/PC/
Dpython3.def157 PyErr_WarnEx=python37.PyErr_WarnEx
/external/python/cpython3/Modules/
D_codecsmodule.c701 if (PyErr_WarnEx(PyExc_DeprecationWarning, in _codecs_unicode_internal_encode_impl()
D_elementtree.c1406 if (PyErr_WarnEx(PyExc_DeprecationWarning, in _elementtree_Element_getchildren_impl()
1472 if (PyErr_WarnEx(PyExc_PendingDeprecationWarning, in _elementtree_Element_getiterator_impl()
3327 if (PyErr_WarnEx(PyExc_DeprecationWarning, in _elementtree_XMLParser___init___impl()
3680 if (PyErr_WarnEx(PyExc_DeprecationWarning, in _elementtree_XMLParser_doctype_impl()
Darraymodule.c1643 if (PyErr_WarnEx(PyExc_DeprecationWarning, in array_array_fromstring_impl()
1695 if (PyErr_WarnEx(PyExc_DeprecationWarning, in array_array_tostring_impl()
D_asynciomodule.c2084 if (PyErr_WarnEx(PyExc_PendingDeprecationWarning, in _asyncio_Task_current_task_impl()
2132 if (PyErr_WarnEx(PyExc_PendingDeprecationWarning, in _asyncio_Task_all_tasks_impl()
/external/python/cpython2/Modules/
D_struct.c139 if (PyErr_WarnEx( in get_pylong()
145 if (PyErr_WarnEx( in get_pylong()
/external/python/cpython3/Objects/
Dbytesobject.c1424 if (PyErr_WarnEx(PyExc_BytesWarning, in bytes_str()
1588 if (PyErr_WarnEx(PyExc_BytesWarning, in bytes_richcompare()
1601 if (PyErr_WarnEx(PyExc_BytesWarning, in bytes_richcompare()
Dbytearrayobject.c1002 if (PyErr_WarnEx(PyExc_BytesWarning, in bytearray_str()
1026 if (PyErr_WarnEx(PyExc_BytesWarning, in bytearray_richcompare()
/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/Doc/data/
Drefcounts.dat706 PyErr_WarnEx:int:::
707 PyErr_WarnEx:PyObject*:category:0:
708 PyErr_WarnEx:const char*:message::
709 PyErr_WarnEx:Py_ssize_t:stack_level::
/external/python/cpython3/Doc/c-api/
Dexceptions.rst299 .. c:function:: int PyErr_WarnEx(PyObject *category, const char *message, Py_ssize_t stack_level)
305 is the function calling :c:func:`PyErr_WarnEx`, 2 is the function above that,
346 Function similar to :c:func:`PyErr_WarnEx`, but use

12