[Python-Dev] Multibyte repr()

Martin v. Loewis martin@v.loewis.de
09 Oct 2002 23:07:23 +0200


Guido van Rossum <guido@python.org> writes:

> 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 HAVE_LOCALE_H and
HAVE_SETLOCALE; both are already tested in configure.in.

Regards,
Martin