Ronald Oussoren <ronaldousso...@mac.com> added the comment:
A private function is less problematic, but still far from ideal. Any use of the function is IMHO a code smell that should be refactored. I'm primarily against this function in the public API because it will be used where it isn't appropriate because it looks convenient (such as ``somefuntion(Py_Borrow(PyUnicode_FromUTF8(...)))``). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42522> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com