python/dist/src/Modules _localemodule.c, 2.40, 2.41
Update of /cvsroot/python/python/dist/src/Modules In directory sc8-pr-cvs1:/tmp/cvs-serv24175/Modules Modified Files: _localemodule.c Log Message: Use de_DE in example, change message for unknown locale. Fixes #797447. Will backport to 2.3. Index: _localemodule.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Modules/_localemodule.c,v retrieving revision 2.40 retrieving revision 2.41 diff -C2 -d -r2.40 -r2.41 *** _localemodule.c 24 Jul 2003 14:15:07 -0000 2.40 --- _localemodule.c 3 Sep 2003 04:50:13 -0000 2.41 *************** *** 1,4 **** /*********************************************************** ! Copyright (C) 1997, 2002 Martin von Loewis Permission to use, copy, modify, and distribute this software and its --- 1,4 ---- /*********************************************************** ! Copyright (C) 1997, 2002, 2003 Martin von Loewis Permission to use, copy, modify, and distribute this software and its *************** *** 178,182 **** if (!result) { /* operation failed, no setting was changed */ ! PyErr_SetString(Error, "locale setting not supported"); return NULL; } --- 178,182 ---- if (!result) { /* operation failed, no setting was changed */ ! PyErr_SetString(Error, "unsupported locale setting"); return NULL; }
participants (1)
-
loewis@users.sourceforge.net