Update of /cvsroot/python/python/dist/src/Objects In directory usw-pr-cvs1:/tmp/cvs-serv16750/Objects Modified Files: unicodeobject.c Log Message: Fix for bug #438164: %-formatting using Unicode objects. This patch also does away with an incompatibility between Jython and CPython. Index: unicodeobject.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Objects/unicodeobject.c,v retrieving revision 2.120 retrieving revision 2.121 diff -C2 -d -r2.120 -r2.121 *** unicodeobject.c 2001/10/19 12:02:29 2.120 --- unicodeobject.c 2001/11/20 15:18:49 2.121 *************** *** 5301,5304 **** --- 5301,5305 ---- goto onError; } + #if 0 /* keys are converted to strings using UTF-8 and then looked up since Python uses strings to hold *************** *** 5308,5311 **** --- 5309,5315 ---- keylen, NULL); + #else + key = PyUnicode_FromUnicode(keystart, keylen); + #endif if (key == NULL) goto onError;
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4