[Numpy-discussion] Status of NumPy and Python 3.3

Stefan Krah stefan-usenet@bytereef....
Sun Jul 29 04:20:21 CDT 2012

Ond??ej ??ert??k <ondrej.certik@gmail.com> wrote:
> Why doesn't PyUnicode_FromKindAndData return a subtype of PyUnicodeObject?
> http://docs.python.org/dev/c-api/unicode.html#PyUnicode_FromKindAndData

Well, it would need a PyTypeObject * parameter to do that. I agree that
many C-API functions would be more useful if they did this.

Stefan Krah

More information about the NumPy-Discussion mailing list