Lisandro Dalcin, 25.08.2010 21:00: > $ cython -3 tmp.pyx > > Error converting Pyrex file to C: > ------------------------------------------------------------ > ... > cdef str a = "abc" > ^ > ------------------------------------------------------------ > > /u/dalcinl/tmp/tmp.pyx:1:13: Cannot convert Unicode string to 'str' > implicitly. This is not portable and requires explicit encoding.
Same thing I said before: if you request unicode string literals, you get unicode literals. Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
