[Cython] Py_UNICODE* string support

Stefan Behnel stefan_ml at behnel.de
Sun Mar 3 08:52:49 CET 2013


Nikita Nemkin, 03.03.2013 08:39:
> Please review my feature proposal to add Py_UNICODE* string support
> for better Windows interoperability:
> https://github.com/cython/cython/pull/191
> 
> This is motivated by my current work that involves calling lots of Windows
> APIs.
> 
> If people are interested I can elaborate on some important points, like
> the choice of base type (Py_UNICODE vs wchar_t) or the nature of
> Py_UNICODE* literals or why this feature is necessary at all.

Are you aware that Py_UNICODE is deprecated as of Py3.3?

http://docs.python.org/3.4/c-api/unicode.html

Your changes look a bit excessive for supporting something that's
inefficient in recent Python versions and basically "dead".

Stefan



More information about the cython-devel mailing list