diff options
author | Inada Naoki <songofacandy@gmail.com> | 2021-05-13 20:45:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-13 20:45:26 (GMT) |
commit | ae3c66acb89a6104fcd0eea760f80a0287327cc4 (patch) | |
tree | 835a76dda08fc4f3e36d04fcae21dc560a2d1242 /Include | |
parent | e0c614e5fd017ca43cab55a9f8490133750c704f (diff) | |
download | cpython-ae3c66acb89a6104fcd0eea760f80a0287327cc4.zip cpython-ae3c66acb89a6104fcd0eea760f80a0287327cc4.tar.gz cpython-ae3c66acb89a6104fcd0eea760f80a0287327cc4.tar.bz2 |
bpo-44094: Remove deprecated PyErr_ APIs. (GH-26011)
These APIs are deprecated since Python 3.3. They are not documented too.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/cpython/pyerrors.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Include/cpython/pyerrors.h b/Include/cpython/pyerrors.h index 37aede0..a3ec5af 100644 --- a/Include/cpython/pyerrors.h +++ b/Include/cpython/pyerrors.h @@ -91,14 +91,6 @@ PyAPI_FUNC(void) _PyErr_GetExcInfo(PyThreadState *, PyObject **, PyObject **, Py PyAPI_FUNC(void) _PyErr_ChainExceptions(PyObject *, PyObject *, PyObject *); -/* Convenience functions */ - -#ifdef MS_WINDOWS -Py_DEPRECATED(3.3) -PyAPI_FUNC(PyObject *) PyErr_SetFromErrnoWithUnicodeFilename( - PyObject *, const Py_UNICODE *); -#endif /* MS_WINDOWS */ - /* Like PyErr_Format(), but saves current exception as __context__ and __cause__. */ @@ -108,16 +100,6 @@ PyAPI_FUNC(PyObject *) _PyErr_FormatFromCause( ... ); -#ifdef MS_WINDOWS -/* XXX redeclare to use WSTRING */ -Py_DEPRECATED(3.3) -PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErrWithUnicodeFilename( - int, const Py_UNICODE *); -Py_DEPRECATED(3.3) -PyAPI_FUNC(PyObject *) PyErr_SetExcFromWindowsErrWithUnicodeFilename( - PyObject *,int, const Py_UNICODE *); -#endif - /* In exceptions.c */ /* Helper that attempts to replace the current exception with one of the |