[EMAIL PROTECTED] writes:
> >   a = 'hello'
> >   a[0] = 'H'   # attempt to change first letter to upper case
> 
> As CLPython mirrors Python semantics, this results in a TypeError. The
> internal representation of an immutable Python string is a mutable Lisp
> string, but there is no way you can actually modify it from within CLPython.

How do you manage that?  The compiler can't check.  Is there some kind
of special dispatch on the assignment statement instead of turning it
into a setf?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to