[Python-Dev] Multibyte repr() (original) (raw)

Guido van Rossum guido@python.org
Wed, 09 Oct 2002 17:28:05 -0400


> This patch seems to take care of it, except I'm not sure if we can > assume that <locale.h> and setlocale() are always available. This > doesn't seem to have any ill effects on the operation of GNU readline:

The patch looks fine, but you need to wrap it with HAVELOCALEH and HAVESETLOCALE; both are already tested in configure.in.

OK, done and checked in.

--Guido van Rossum (home page: http://www.python.org/~guido/)