Guido van Rossum wrote: > We'd > need a third form (eek!) that would preserve the string quotes but be > more lenient about non-ASCII. Personally, I think some custom loop to > print the values is good enough.
It might not be a serious problem when most of the chars in the string are ascii, but what about e.g. a Japanese user whose strings consist almost entirely of non-ascii, but are for the most part what constitutes perfectly readable text to them? They will have no straightforward way to display a list of strings in a readable form. I'm not sure what to do about that, though. Maybe some sort of locale setting that makes repr() of a string not escape chars that fall into some kind of "normal" set according to the user's native language? -- Greg _______________________________________________ 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