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.

classification
Title: PyUnicode_FormatV and Py_UNICODE*?
Type: enhancement Stage:
Components: Extension Modules, Interpreter Core Versions: Python 3.2, Python 3.3
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: mkleehammer, serhiy.storchaka, vstinner
Priority: normal Keywords:

Created on 2010-09-17 19:32 by mkleehammer, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg116714 - (view) Author: Michael Kleehammer (mkleehammer) * Date: 2010-09-17 19:32
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).
msg180044 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-01-15 19:32
The Py_UNICODE* representation is deprecated since 3.3. New features can be added only to 3.4.
History
Date User Action Args
2022-04-11 14:57:06adminsetgithub: 54098
2013-10-13 18:24:58georg.brandlsetstatus: pending -> closed
2013-01-15 19:32:39serhiy.storchakasetstatus: open -> pending

nosy: + serhiy.storchaka
messages: + msg180044

resolution: rejected
2010-09-24 20:42:04terry.reedysetversions: - Python 3.1
2010-09-17 20:10:35r.david.murraysetnosy: + vstinner
2010-09-17 19:32:09mkleehammercreate