[Python-Dev] Should repr() of string should observe locale?

Guido van Rossum guido@beopen.com
Sat, 29 Jul 2000 13:04:41 -0500


There have been some requests (Francois Pinard, recently Alexander
Voinov) that repr() of a string should not use escape sequences for
characters that are printable according to the locale.

I don't have the time to write a PEP or implement it (although it
should be simple enough) but it needs to be recorded as a feature that
I think is good (that's at least a +0).

--Guido van Rossum (home page: http://www.pythonlabs.com/~guido/)