[Python-checkins] CVS: python/dist/src/Objects unicodeobject.c,2.121,2.122

M.-A. Lemburg lemburg@users.sourceforge.net
2001年11月28日 04:56:22 -0800


Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv30303/Objects
Modified Files:
	unicodeobject.c 
Log Message:
Fix for bug #485951: repr diff between string and unicode.
Index: unicodeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/unicodeobject.c,v
retrieving revision 2.121
retrieving revision 2.122
diff -C2 -d -r2.121 -r2.122
*** unicodeobject.c	2001年11月20日 15:18:49	2.121
--- unicodeobject.c	2001年11月28日 12:56:20	2.122
***************
*** 1834,1838 ****
 
 /* Map non-printable US ASCII to '\xhh' */
! else if (ch < ' ' || ch >= 128) {
 *p++ = '\\';
 *p++ = 'x';
--- 1834,1838 ----
 
 /* Map non-printable US ASCII to '\xhh' */
! else if (ch < ' ' || ch >= 0x7F) {
 *p++ = '\\';
 *p++ = 'x';

AltStyle によって変換されたページ (->オリジナル) /