Update of /cvsroot/python/python/dist/src/Modules In directory usw-pr-cvs1:/tmp/cvs-serv27309 Modified Files: _tkinter.c Log Message: Encode Unicode arguments to split/splitlist as UTF-8. Fixes #507962. 2.2.1 bugfix candidate. Index: _tkinter.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Modules/_tkinter.c,v retrieving revision 1.122 retrieving revision 1.123 diff -C2 -d -r1.122 -r1.123 *** _tkinter.c 2002/01/17 23:15:58 1.122 --- _tkinter.c 2002/01/26 20:21:50 1.123 *************** *** 1192,1196 **** int i; ! if (!PyArg_ParseTuple(args, "s:splitlist", &list)) return NULL; --- 1192,1196 ---- int i; ! if (!PyArg_ParseTuple(args, "et:splitlist", "utf-8", &list)) return NULL; *************** *** 1220,1224 **** char *list; ! if (!PyArg_ParseTuple(args, "s:split", &list)) return NULL; return Split(list); --- 1220,1224 ---- char *list; ! if (!PyArg_ParseTuple(args, "et:split", "utf-8", &list)) return NULL; return Split(list);
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