[issue9889] PyUnicode_FormatV and Py_UNICODE*?

Michael Kleehammer report at bugs.python.org
Fri Sep 17 21:32:11 CEST 2010


New submission from Michael Kleehammer <michael at 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 <report at bugs.python.org>
<http://bugs.python.org/issue9889>
_______________________________________


More information about the Python-bugs-list mailing list