Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] Multibyte repr()

Guido van Rossumguido@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() functionof 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 thefollowing patch:----------------------------revision 2.190date: 2002/10/07 13:55:50;  author: loewis;  state: Exp;  lines: +68 -15Patch #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/)


[8]ページ先頭

©2009-2026 Movatter.jp