[Python-checkins] CVS: python/dist/src/Objects unicodeobject.c,2.121,2.122
M.-A. Lemburg
lemburg@users.sourceforge.net
Wed, 28 Nov 2001 04:56:22 -0800
- Previous message: [Python-checkins] CVS: python/dist/src/Python compile.c,2.230,2.231 dynload_os2.c,2.5,2.6 dynload_win.c,2.8,2.9 getargs.c,2.84,2.85
- Next message: [Python-checkins] CVS: python/dist/src/Lib/test test_unicode.py,1.44,1.45
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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';
- Previous message: [Python-checkins] CVS: python/dist/src/Python compile.c,2.230,2.231 dynload_os2.c,2.5,2.6 dynload_win.c,2.8,2.9 getargs.c,2.84,2.85
- Next message: [Python-checkins] CVS: python/dist/src/Lib/test test_unicode.py,1.44,1.45
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]