>  > The escaping that repr() does is *not* to achieve unambiguity,
>  > but to achieve printability.
> 
> Well, if that is the case, then I withdraw my comments pretty much
> entirely, and apologize for the noise.  I think you've already
> specified what is needed to achieve printability correctly.

After I posted this, I read Guido's earlier message that the
case may not be as clear. So please take this as my own opinion,
not as a given - some people apparently want repr to provide
unambiguous output also.

If so, I still don't think the security mechanisms of Unicode
apply - if you have combining characters in the string, and
the precombined version also exists in Unicode, then those
algorithms may still not help. Likewise for compatibility
characters.

Regards,
Martin
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to