On Oct 10, 2009, at 8:15 AM, Stefan Behnel wrote: > Hi, > > I implemented the string CEP 108. > > http://wiki.cython.org/enhancements/stringliterals > > According to the tests, it looks good so far. I'll push the final > fixes to > cython-devel as soon as it's back online.
Excellent, thanks! > One thing I changed was that you can assign a str literal to both > char* and > bytes, i.e. > > cdef char* s = "abc" > cdef bytes b = "abc" > > will both work. I think that makes sense, given that char* and bytes > are > mostly equivalent otherwise. This only regards compile-time coerced > literals, Sounds good to me. - Robert _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
