[Python-Dev] Re: Multibyte repr()

Atsuo Ishimoto ishimoto@gembook.org
Fri, 11 Oct 2002 15:17:11 +0900


Hello,

On Thu, 10 Oct 2002 20:04:05 -0400
Guido van Rossum <guido@python.org> wrote:

> Oops.  It looks like this is the nail in the coffin of the
> locale-specific repr(): a multibyte "character" may end in a backslash
> that is not escaped.
> 
> Martin, I'm afraid there's nothing we can do except revert your
> multibyte character checkins...
> 

I with to multibyte character checkins remain. Hex coded strings are
realy nasty for debugging.

As for illegal-pickle issue, it is easy to fix this problem. We just
need to provide a simple function that converts string to canonical
Python literal representaion, as old repr() does. 

Regards,
--------------------------
Atsuo Ishimoto
ishimoto@gembook.org
Homepage:http://www.gembook.jp