This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Remove PyErr_Set...WithUnicodeFilename APIs
Type: enhancement Stage: resolved
Components: C API Versions: Python 3.11
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: methane
Priority: normal Keywords: patch

Created on 2021-05-10 05:07 by methane, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 26011 merged methane, 2021-05-10 05:34
Messages (1)
msg393351 - (view) Author: Inada Naoki (methane) * (Python committer) Date: 2021-05-10 05:07
These APIs are deprecated since Python 3.3. They are not documented too.

```
#ifdef MS_WINDOWS
Py_DEPRECATED(3.3)
PyAPI_FUNC(PyObject *) PyErr_SetFromErrnoWithUnicodeFilename(
    PyObject *, const Py_UNICODE *);

/* 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
```
History
Date User Action Args
2022-04-11 14:59:45adminsetgithub: 88260
2021-05-13 20:45:48pitrousetstatus: open -> closed
type: enhancement
resolution: fixed
stage: patch review -> resolved
2021-05-10 05:34:44methanesetkeywords: + patch
stage: patch review
pull_requests: + pull_request24661
2021-05-10 05:07:02methanecreate