[Python-Dev] cpython: Add _PyUnicode_UTF8() and _PyUnicode_UTF8_LENGTH() macros (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Sat Oct 1 17🔞42 CEST 2011


On Sat, 01 Oct 2011 16:53:44 +0200 victor.stinner <python-checkins at python.org> wrote:

http://hg.python.org/cpython/rev/4afab01f5374 changeset: 72565:4afab01f5374 user: Victor Stinner <victor.stinner at haypocalc.com> date: Sat Oct 01 16:48:13 2011 +0200 summary: Add PyUnicodeUTF8() and PyUnicodeUTF8LENGTH() macros

* Rename existing PyUnicodeUTF8() macro to PyUnicodeUTF8()

Wouldn't this be better called PyUnicode_AS_UTF8()?



More information about the Python-Dev mailing list