[New-bugs-announce] [issue41099] Deprecating PyUnicodeTranslateError_Create
Inada Naoki
report at bugs.python.org
Wed Jun 24 04:51:17 EDT 2020
New submission from Inada Naoki <songofacandy at gmail.com>:
PyUnicodeTranslateError_Create marked as Py_DEPRECATED since it receives Py_UNICODE* as an argument.
But it is not deprecated in the document.
On the other hand, we have alternative private API which accepts Unicode object: _PyUnicodeTranslateError_Create. Should we make it public?
Otherwise, we can recommend `PyObject_CallFunction(PyExc_UnicodeTranslateError, ...)` as an alternative.
----------
components: C API
messages: 372242
nosy: inada.naoki
priority: normal
severity: normal
status: open
title: Deprecating PyUnicodeTranslateError_Create
versions: Python 3.10
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41099>
_______________________________________
More information about the New-bugs-announce
mailing list