Searched refs:PyErr_WarnEx (Results 1 – 18 of 18) sorted by relevance
/external/python/cpython2/Include/ |
D | warnings.h | 9 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/cpython2/Python/ |
D | pystrtod.c | 282 if (PyErr_WarnEx(PyExc_DeprecationWarning, in PyOS_ascii_strtod() 725 if (PyErr_WarnEx(PyExc_DeprecationWarning, in PyOS_ascii_formatd()
|
D | _warnings.c | 709 PyErr_WarnEx(PyObject *category, const char *text, Py_ssize_t stack_level) in PyErr_WarnEx() function 736 return PyErr_WarnEx(category, text, 1); in PyErr_Warn()
|
D | ceval.c | 3887 if (PyErr_WarnEx(PyExc_DeprecationWarning, in do_raise() 4813 ret_val = PyErr_WarnEx( in cmp_outcome() 4825 ret_val = PyErr_WarnEx( in cmp_outcome() 4836 ret_val = PyErr_WarnEx( in cmp_outcome() 4848 ret_val = PyErr_WarnEx( in cmp_outcome()
|
D | import.c | 2474 if (!PyErr_WarnEx(PyExc_RuntimeWarning, in get_parent()
|
/external/python/cpython2/Doc/c-api/ |
D | exceptions.rst | 268 .. 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, 310 calling :c:func:`PyErr_WarnEx` with a *stacklevel* of 1. 312 Deprecated; use :c:func:`PyErr_WarnEx` instead.
|
/external/python/cpython2/Doc/data/ |
D | refcounts.dat | 351 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/cpython2/Modules/ |
D | _struct.c | 139 if (PyErr_WarnEx( in get_pylong() 145 if (PyErr_WarnEx( in get_pylong()
|
/external/python/cpython2/Objects/ |
D | object.c | 906 PyErr_WarnEx(PyExc_DeprecationWarning, in try_3way_to_rich_compare() 1773 if (PyErr_WarnEx(PyExc_DeprecationWarning, in merge_list_attr()
|
D | bytearrayobject.c | 1009 if (PyErr_WarnEx(PyExc_BytesWarning, in bytearray_str() 1038 if (PyErr_WarnEx(PyExc_BytesWarning, in bytearray_richcompare()
|
D | typeobject.c | 671 PyErr_WarnEx(PyExc_DeprecationWarning, in type_richcompare() 2946 err = PyErr_WarnEx(PyExc_DeprecationWarning, in object_init() 2969 err = PyErr_WarnEx(PyExc_DeprecationWarning, in object_new() 3569 if (PyErr_WarnEx(PyExc_PendingDeprecationWarning,
|
D | exceptions.c | 330 if (PyErr_WarnEx(PyExc_DeprecationWarning, in BaseException_get_message()
|
D | fileobject.c | 775 if (PyErr_WarnEx(PyExc_DeprecationWarning, in file_seek()
|
D | abstract.c | 791 if (PyErr_WarnEx(
|
/external/python/cpython2/Doc/library/ |
D | warnings.rst | 22 in this module. (C programmers use :c:func:`PyErr_WarnEx`; see
|
/external/python/cpython2/Modules/_io/ |
D | bufferedio.c | 1640 if (PyErr_WarnEx(PyExc_DeprecationWarning, in complain_about_max_buffer_size()
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.5.rst | 2184 favour of :c:func:`PyErr_WarnEx(category, message, stacklevel)` which lets you 2186 *stacklevel* of 1 is the function calling :c:func:`PyErr_WarnEx`, 2 is the
|
/external/python/cpython2/Misc/ |
D | HISTORY | 189 - Add PyErr_WarnEx() so C code can pass the stacklevel to warnings.warn(). 191 PyErr_Warn() is now deprecated in favor of PyErr_WarnEx().
|