[Python-checkins] python/dist/src configure.in, 1.462,
1.463 pyconfig.h.in, 1.100, 1.101
niemeyer at users.sourceforge.net
niemeyer at users.sourceforge.net
Thu Jul 22 20:44:02 CEST 2004
Update of /cvsroot/python/python/dist/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3065
Modified Files:
configure.in pyconfig.h.in
Log Message:
This change implements the following gettext features, as
discussed recently in python-dev:
In _locale module:
- bind_textdomain_codeset() binding
In gettext module:
- bind_textdomain_codeset() function
- lgettext(), lngettext(), ldgettext(), ldngettext(),
which return translated strings encoded in
preferred system encoding, if
bind_textdomain_codeset() was not used.
- Added equivalent functionality in translate()
function and catalog classes.
Every change was also documented.
Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.462
retrieving revision 1.463
diff -C2 -d -r1.462 -r1.463
*** configure.in 16 Jul 2004 08:42:35 -0000 1.462
--- configure.in 22 Jul 2004 18:43:59 -0000 1.463
***************
*** 2045,2050 ****
# checks for library functions
! AC_CHECK_FUNCS(alarm chown clock confstr ctermid execv \
! fork fpathconf ftime ftruncate \
gai_strerror getgroups getlogin getloadavg getpeername getpgid getpid \
getpriority getpwent getsid getwd \
--- 2045,2050 ----
# checks for library functions
! AC_CHECK_FUNCS(alarm bind_textdomain_codeset chown clock confstr ctermid \
! execv fork fpathconf ftime ftruncate \
gai_strerror getgroups getlogin getloadavg getpeername getpgid getpid \
getpriority getpwent getsid getwd \
Index: pyconfig.h.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/pyconfig.h.in,v
retrieving revision 1.100
retrieving revision 1.101
diff -C2 -d -r1.100 -r1.101
*** pyconfig.h.in 7 Jul 2004 17:44:09 -0000 1.100
--- pyconfig.h.in 22 Jul 2004 18:43:59 -0000 1.101
***************
*** 38,41 ****
--- 38,44 ----
#undef HAVE_ALTZONE
+ /* Define to 1 if you have the `bind_textdomain_codeset' function. */
+ #undef HAVE_BIND_TEXTDOMAIN_CODESET
+
/* Define to 1 if you have the <bluetooth/bluetooth.h> header file. */
#undef HAVE_BLUETOOTH_BLUETOOTH_H
More information about the Python-checkins
mailing list