[Python-checkins] python/dist/src/Modules _localemodule.c, 2.40, 2.40.4.1

loewis at users.sourceforge.net loewis at users.sourceforge.net
Tue Sep 2 22:53:47 EDT 2003


Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv24806/Modules

Modified Files:
      Tag: release23-maint
	_localemodule.c 
Log Message:
Use de_DE in example, change message for unknown locale. Fixes #797447.


Index: _localemodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_localemodule.c,v
retrieving revision 2.40
retrieving revision 2.40.4.1
diff -C2 -d -r2.40 -r2.40.4.1
*** _localemodule.c	24 Jul 2003 14:15:07 -0000	2.40
--- _localemodule.c	3 Sep 2003 04:53:15 -0000	2.40.4.1
***************
*** 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;
          }





More information about the Python-checkins mailing list