New submission from Michael Kleehammer <mich...@kleehammer.com>: Using Py_UNICODE* in Python 3 C extensions is significantly more cumbersome than using char* was in Python 2.x. One addition that could help would be a Py_UNICODE* format type for PyUnicode_FormatV.
Many printf libraries us %S for wchar_t which would have been nicely analogous, but that is already taken for str(obj). ---------- components: Extension Modules, Interpreter Core messages: 116714 nosy: mkleehammer priority: normal severity: normal status: open title: PyUnicode_FormatV and Py_UNICODE*? type: feature request versions: Python 3.1, Python 3.2, Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9889> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com