Vitja Makarov, 15.01.2011 17:44:
> When I say about py3 I mean that strings are unicode by default.

For this code

   '\u'

Cython now gives you an error just like you'd get when pasting the above 
into Python 3. That's how 'str' works in Cython.


> How about this kind of errors:
>
> Error converting Pyrex file to C:
> ------------------------------------------------------------
> ...
> print "\xff"
>       ^
> ------------------------------------------------------------
>
> /tmp/foo.pyx:1:6: String decoding as 'UTF-8' failed. Consider using a
> byte string or unicode string explicitly, or adjust the source code
> encoding.

This error has been gone for good for quite a while now. Where did you see it?

Stefan
_______________________________________________
Cython-dev mailing list
Cython-dev@codespeak.net
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to