Robert Bradshaw, 04.09.2010 22:04:
> How about we parse the literals as unicode strings, and if used in a
> bytes context we raise a compile time error if any characters are
> larger than a char?

Can't work because you cannot recover the original byte sequence from a 
decoded Unicode string. It may have used escapes or not, and it may or may 
not be encodable using the source code encoding.

Stefan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to