[Python-Dev] Multibyte repr()
Guido van Rossum
guido@python.org
Wed, 09 Oct 2002 14:50:54 -0400
> I saw this too. The fix was to add a setlocale() call to
> test___all__.py. Read my checkin comments and weep.
I told this all to Tim, and he had one comment. The repr() function
of an 8-bit string can now return characters with the high bit set.
This was the direct cause of the failures. It was introduced in the
following patch:
----------------------------
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???
--Guido van Rossum (home page: http://www.python.org/~guido/)