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/2010-September/103449.html below:

[Python-Dev] r84430 - in python/branches/py3k: Include/unicodeobject.h Objects/unicodeobject.c

[Python-Dev] r84430 - in python/branches/py3k: Include/unicodeobject.h Objects/unicodeobject.cGeorg Brandl g.brandl at gmx.net
Sat Sep 4 00:02:59 CEST 2010
Am 03.09.2010 18:24, schrieb Victor Stinner:
>> Other than that, ok, let's have them.
> 
> Ok.
> 
> r84455 renames PyUnicode_strdup() to PyUnicode_AsUnicodeCopy(), and r84456 
> document it:
> 
> ----------
> ... cfunction:: Py_UNICODE* PyUnicode_AsUnicodeCopy(PyObject *unicode)
> 
>    Create a copy of a unicode string ending with a nul character. Return 
> *NULL*
>    and raise a :exc:`MemoryError` exception on memory allocation failure,
>    otherwise return a new allocated buffer (use :cfunc:`PyMem_Free` to free the
>    buffer).
> ----------
> 
> Thanks all for your review and advices ;-)

What about Py_UNICODE_strcat?  If it remains, it needs to be documented as well.

Georg

-- 
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.

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