Re: python: fix for locale.bind_textdomain_codeset

2010-12-31 Thread Jason Tishler
Yaakov, On Thu, Dec 23, 2010 at 08:45:33PM -0600, Yaakov (Cygwin/X) wrote: > Since _locale is already linked against libintl, an easy fix is to > just add ac_cv_func_bind_textdomain_codeset=yes to CYGCONF_ARGS. > When you updated Python to 2.6.6, could you include this as well? Yes. Thanks for t

python: fix for locale.bind_textdomain_codeset

2010-12-23 Thread Yaakov (Cygwin/X)
Jason, Support for bind_textdomain_codeset() in Python's locale module (namely Modules/_localemodule.c) is dependent on an AC_CHECK_FUNC test. Unfortunately, this only looks in libc, where we (and other non-glibc platforms) rely on libintl for these functions, resulting in a false negative. Since