New submission from Inada Naoki <songofaca...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue41099>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to