[Python-Dev] Multibyte repr()

Martin v. Loewis martin@v.loewis.de
09 Oct 2002 21:58:27 +0200


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

> revision 2.190
> date: 2002/10/07 13:55:50;  author: loewis;  state: Exp;  lines: +68 -15
> Patch #479898: Use multibyte C library for printing strings if available.
> ----------------------------
> 
> Was this really a good idea???

I think the submitter wanted to get "proper" output in interactive
mode for strings. For most cases, it might be sufficient to active the
code for tp_print only, not for tp_repr.

Would that be better?

Regards,
Martin