[Cython] string literals in Py2 vs Py3

Stefan Behnel stefan_ml at behnel.de
Sat May 17 22:11:40 CEST 2008


Greg Ewing wrote:
> Robert Bradshaw wrote:
> 
>> I think we're all OK on being able to specify byte string or unicode  
>> string. It's a question of what happens when you don't specify one or  
>> the other.
> 
>  From what I've seen so far, the answer appears to
> be that it gets Damned Confusing (tm).

That's the main reason why I am voting for clear semantics, instead of
"depends on where you run it". The semantics of source code should be fixed at
the time the parser reads it.

Stefan


More information about the Cython-dev mailing list