On Mon, 21 Nov 2011 12:53:17 +0100 Victor Stinner <victor.stin...@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. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com