A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-November/114537.html below:

[Python-Dev] Chose a name for a "get unicode as wide character, borrowed reference" function

[Python-Dev] Chose a name for a "get unicode as wide character, borrowed reference" functionAntoine Pitrou solipsis at pitrou.net
Mon Nov 21 16:04:06 CET 2011
On Mon, 21 Nov 2011 12:53:17 +0100
Victor Stinner <victor.stinner at haypocalc.com> wrote:
> 
> I would like to add a new PyUnicode_AsWideChar() function which would return 
> the borrowed reference, exactly as PyUnicode_AsUnicode(). The problem is that 
> "PyUnicode_AsWideChar" already exists in Python 3.2, as 
> PyUnicode_AsWideCharString.

This is not very clear. You are proposing to add a function which
already exists, except that you have to free the pointer yourself?
I don't think that's a good idea, the API is already large enough.

Regards

Antoine.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4