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.

Author methane
Recipients methane
Date 2020-06-24.08:51:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1592988677.6.0.878608342851.issue41099@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-06-24 08:51:17methanesetrecipients: + methane
2020-06-24 08:51:17methanesetmessageid: <1592988677.6.0.878608342851.issue41099@roundup.psfhosted.org>
2020-06-24 08:51:17methanelinkissue41099 messages
2020-06-24 08:51:17methanecreate