5 Dec 2011 18:06
Unicode and numpy
Eduardo Lenz <eduardobarplenz <at> gmail.com>
2011-12-05 17:06:52 GMT
2011-12-05 17:06:52 GMT
Hi,
after adding #cython: language_level=3 in my .pxd files I got the following error messages
Error compiling Cython file:
------------------------------------------------------------
...
# need to call releasebuffer
info.obj = self
if not hasfields:
t = descr.type_num
if ((descr.byteorder == '>' and little_endian) or
^
------------------------------------------------------------
/usr/lib/python3.2/site-packages/Cython/Includes/numpy.pxd:254:40: Unicode literals do not support coercion to C types other than Py_UNICODE or Py_UCS4.
I tried with stable and cython-git 20111205-1 versions, with no luck. Any idea ??
Thanks,
Eduardo.
RSS Feed