[New-bugs-announce] [issue44094] Remove PyErr_Set...WithUnicodeFilename APIs

Inada Naoki report at bugs.python.org
Mon May 10 01:07:02 EDT 2021

New submission from Inada Naoki <songofacandy at gmail.com>:

These APIs are deprecated since Python 3.3. They are not documented too.

PyAPI_FUNC(PyObject *) PyErr_SetFromErrnoWithUnicodeFilename(
    PyObject *, const Py_UNICODE *);

/* XXX redeclare to use WSTRING */
PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErrWithUnicodeFilename(
    int, const Py_UNICODE *);
PyAPI_FUNC(PyObject *) PyErr_SetExcFromWindowsErrWithUnicodeFilename(
    PyObject *,int, const Py_UNICODE *);

components: C API
messages: 393351
nosy: methane
priority: normal
severity: normal
status: open
title: Remove PyErr_Set...WithUnicodeFilename APIs
versions: Python 3.11

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list