[Python-Dev] PEP 263 considered faulty (for some Japanese

Martin v. Loewis martin@v.loewis.de
18 Mar 2002 16:49:36 +0100


"Stephen J. Turnbull" <stephen@xemacs.org> writes:

> My point is that encouraging \xNN-escaping would be greatly
> facilitated if Emacs did _not_ treat regular strings as text.  After
> all, they aren't, except in the U.S.<wink>  I want Emacs to encourage
> users to conform to Python's view of what belongs in there, not to
> force Python to accept whatever Emacs can stuff in.

This is not (primarily) about Emacs. People may have used string
literals to denote byte strings in the past, and they may even have
gone beyond ASCII for that. They need to convert some of those into
pure-ASCII-with-escapes, which preserving text strings. This is not
something you can do automatically.

Regards,
Martin