Inada Naoki <songofaca...@gmail.com> added the comment:
I prefer `PyObject_CallFunction(PyExc_UnicodeTranslateError, ...)` because UnicodeTranslateError is not so popular for third party libraries. I don't think we should provide public stable API for convenient. ---------- _______________________________________ 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