[Cython] [Pyrex] Python 3

Stefan Behnel stefan_ml at behnel.de
Tue Apr 29 13:10:20 CEST 2008


Christian Heimes wrote:
> In Python 3.x the PyUnicode object keeps a default encoded PyString in
> its struct. You can use PyUnicode_AsStringAndSize() to get an UTF8
> encoded char* from a PyUnicode object without worrying about memory
> management.

Interesting. What is a "default encoding"?

Stefan



More information about the Cython-dev mailing list