Home
last modified time | relevance | path

Searched refs:PyErr_WarnEx (Results 1 - 21 of 21) sorted by relevance

/third_party/python/Include/cpython/
H A Dwarnings.h19 // DEPRECATED: Use PyErr_WarnEx() instead.
20 #define PyErr_Warn(category, msg) PyErr_WarnEx(category, msg, 1)
/third_party/python/Include/
H A Dwarnings.h7 PyAPI_FUNC(int) PyErr_WarnEx(
/third_party/python/Modules/_io/
H A D_iomodule.c311 if (PyErr_WarnEx(PyExc_RuntimeWarning, in _io_open_impl()
479 if (PyErr_WarnEx(PyExc_EncodingWarning, in _io_text_encoding_impl()
H A Dtextio.c1080 if (PyErr_WarnEx(PyExc_EncodingWarning, in _io_TextIOWrapper___init___impl()
/third_party/python/Python/
H A Dthread.c84 if (PyErr_WarnEx(PyExc_DeprecationWarning, in _PyThread_debug_deprecation()
H A Dstructmember.c100 if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0) \
H A D_warnings.c1185 PyErr_WarnEx(PyObject *category, const char *text, Py_ssize_t stack_level) in PyErr_WarnEx() function
1197 Use PyErr_WarnEx instead. */
1204 return PyErr_WarnEx(category, text, 1); in PyErr_Warn()
H A Dimport.c1587 if (PyErr_WarnEx(PyExc_ImportWarning, in resolve_name()
1606 if (PyErr_WarnEx(PyExc_ImportWarning, in resolve_name()
/third_party/python/Modules/
H A Dspwdmodule.c259 if (PyErr_WarnEx(PyExc_DeprecationWarning, in PyInit_spwd()
H A Dnismodule.c527 if (PyErr_WarnEx(PyExc_DeprecationWarning, in PyInit_nis()
H A Dossaudiodev.c1120 if (PyErr_WarnEx(PyExc_DeprecationWarning, in PyInit_ossaudiodev()
H A Daudioop.c1994 if (PyErr_WarnEx(PyExc_DeprecationWarning, in PyInit_audioop()
H A D_elementtree.c3531 (void)PyErr_WarnEx(PyExc_RuntimeWarning, in expat_start_doctype_handler()
H A D_ssl.c705 return PyErr_WarnEx( in _ssl_deprecated()
H A Dsocketmodule.c3927 if (PyErr_WarnEx(PyExc_RuntimeWarning, in sock_recvmsg_guts()
/third_party/python/Modules/_ctypes/
H A Dcallbacks.c284 else if (PyErr_WarnEx(PyExc_RuntimeWarning, in _CallPythonObject()
/third_party/python/Objects/
H A Dbytesobject.c1384 if (PyErr_WarnEx(PyExc_BytesWarning, in bytes_str()
1532 if (PyErr_WarnEx(PyExc_BytesWarning, in bytes_richcompare()
1537 if (PyErr_WarnEx(PyExc_BytesWarning, in bytes_richcompare()
H A Dunicodeobject.c2147 if (PyErr_WarnEx(PyExc_DeprecationWarning, in PyUnicode_FromUnicode()
2259 if (PyErr_WarnEx(PyExc_DeprecationWarning, in PyUnicode_FromStringAndSize()
3645 if (PyErr_WarnEx(PyExc_DeprecationWarning, in PyUnicode_AsDecodedObject()
3669 if (PyErr_WarnEx(PyExc_DeprecationWarning, in PyUnicode_AsDecodedUnicode()
3708 if (PyErr_WarnEx(PyExc_DeprecationWarning, in PyUnicode_AsEncodedObject()
3931 if (PyErr_WarnEx(PyExc_DeprecationWarning, in PyUnicode_AsEncodedUnicode()
15586 if (PyErr_WarnEx(PyExc_DeprecationWarning, in PyUnicode_InternImmortal()
H A Dobject.c1774 if (PyErr_WarnEx(PyExc_DeprecationWarning, in notimplemented_bool()
H A Dabstract.c1567 if (PyErr_WarnEx(PyExc_DeprecationWarning, in PyNumber_Long()
/third_party/python/PC/
H A Dpython3dll.c233 EXPORT_FUNC(PyErr_WarnEx)

Completed in 67 milliseconds