On 2006-10-19, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Suggestion: shouldn't an error raise already when I try to
> assign s2?

There's been discussion on pydev about changing this, but for now
I believe a str is a sequence of bytes in Python, rather than a
string of characters. My current project (an implementation of
the Glk API in Python) would be more troublesome to write if I
had to store all my latin-1 character strings as lists or arrays
of bytes.

-- 
Neil Cerutti
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to