Home
last modified time | relevance | path

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

12

/third_party/python/Include/
Dwarnings.h11 PyAPI_FUNC(int) PyErr_WarnEx(
56 #define PyErr_Warn(category, msg) PyErr_WarnEx(category, msg, 1)
/third_party/python/Modules/_io/
D_iomodule.c331 if (PyErr_WarnEx(PyExc_DeprecationWarning, in _io_open_impl()
368 if (PyErr_WarnEx(PyExc_RuntimeWarning, in _io_open_impl()
535 if (PyErr_WarnEx(PyExc_EncodingWarning, in _io_text_encoding_impl()
Dtextio.c1091 if (PyErr_WarnEx(PyExc_EncodingWarning, in _io_TextIOWrapper___init___impl()
/third_party/python/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()
D_asynciomodule.c334 if (PyErr_WarnEx(PyExc_DeprecationWarning, in get_event_loop()
D_tkinter.c2360 if (PyErr_WarnEx(PyExc_DeprecationWarning, in _tkinter_tkapp_split()
D_elementtree.c3543 (void)PyErr_WarnEx(PyExc_RuntimeWarning, in expat_start_doctype_handler()
D_ssl.c701 return PyErr_WarnEx( in _ssl_deprecated()
Dsocketmodule.c3874 if (PyErr_WarnEx(PyExc_RuntimeWarning, in sock_recvmsg_guts()
/third_party/python/Python/
Dthread.c85 if (PyErr_WarnEx(PyExc_DeprecationWarning, in _PyThread_debug_deprecation()
Dstructmember.c100 if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0) \
D_warnings.c1181 PyErr_WarnEx(PyObject *category, const char *text, Py_ssize_t stack_level) in PyErr_WarnEx() function
1200 return PyErr_WarnEx(category, text, 1); in PyErr_Warn()
Dimport.c1371 if (PyErr_WarnEx(PyExc_ImportWarning, in resolve_name()
1390 if (PyErr_WarnEx(PyExc_ImportWarning, in resolve_name()
/third_party/python/Modules/_ctypes/
Dcallbacks.c290 if (-1 == PyErr_WarnEx(PyExc_RuntimeWarning, in _CallPythonObject()
/third_party/python/Objects/
Dbytesobject.c1376 if (PyErr_WarnEx(PyExc_BytesWarning, in bytes_str()
1534 if (PyErr_WarnEx(PyExc_BytesWarning, in bytes_richcompare()
1539 if (PyErr_WarnEx(PyExc_BytesWarning, in bytes_richcompare()
Dbytearrayobject.c996 if (PyErr_WarnEx(PyExc_BytesWarning, in bytearray_str()
1014 if (PyErr_WarnEx(PyExc_BytesWarning, in bytearray_richcompare()
Dobject.c1716 if (PyErr_WarnEx(PyExc_DeprecationWarning, in notimplemented_bool()
Dunicodeobject.c2201 if (PyErr_WarnEx(PyExc_DeprecationWarning, in PyUnicode_FromUnicode()
2313 if (PyErr_WarnEx(PyExc_DeprecationWarning, in PyUnicode_FromStringAndSize()
3699 if (PyErr_WarnEx(PyExc_DeprecationWarning, in PyUnicode_AsDecodedObject()
3723 if (PyErr_WarnEx(PyExc_DeprecationWarning, in PyUnicode_AsDecodedUnicode()
3778 if (PyErr_WarnEx(PyExc_DeprecationWarning, in PyUnicode_AsEncodedObject()
4001 if (PyErr_WarnEx(PyExc_DeprecationWarning, in PyUnicode_AsEncodedUnicode()
15896 if (PyErr_WarnEx(PyExc_DeprecationWarning, in PyUnicode_InternImmortal()
/third_party/python/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::
Dstable_abi.dat163 function,PyErr_WarnEx,3.2,
/third_party/python/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
/third_party/python/PC/
Dpython3dll.c227 EXPORT_FUNC(PyErr_WarnEx)
/third_party/python/Doc/library/
Dwarnings.rst19 in this module. (C programmers use :c:func:`PyErr_WarnEx`; see
/third_party/python/Misc/
Dstable_abi.txt564 function PyErr_WarnEx
/third_party/python/Doc/whatsnew/
D2.5.rst2185 favour of ``PyErr_WarnEx(category, message, stacklevel)`` which lets you
2187 *stacklevel* of 1 is the function calling :c:func:`PyErr_WarnEx`, 2 is the

12