On Tue, Nov 16, 2010 at 1:06 PM, M.-A. Lemburg <m...@egenix.com> wrote: .. > BTW: I'm not really happy about the Py_UNICODE_ prefix for functions > in unicodeobject.h, but I guess it's too late to change those. > It would be better to stick to one prefix for Unicode related > APIs, i.e. "PyUnicode_".
I don't have a problem with this. It makes sense that functions that operate on PyUnicode objects start with PyUnicode_ and those that operate on Py_UNICODE ordinals start with Py_UNICODE_. Of course, PyUnicode should have been named PyUnicodeObject and Py_UNICODE should have been named Py_wchar_t, but that's a different story. _______________________________________________ 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