[python-sybase] GTK & Sybase

Andrew McNamara andrewm at object-craft.com.au
Fri, 25 Feb 2005 09:27:56 +1100


>Probably related to this:
>
>This is one of the new things in Python 2.4. Now there is a
>locale-independent (C locale) way of treating numbers. I bet the module
>has to be adapted to this change to take advantage of this fact (and
>letting users choose their own locale without breaking apps).
>
>http://www.python.org/doc/2.4/whatsnew/node11.html

It's certainly related, but I don't think the 2.4 changes were the cause.

What is almost certainly happening is that GTK is changing the locale,
which effects the conversion within the python-sybase modules C code.

If python-sybase used the new interface (when available), that would
hopefully eliminate this problem. Someone who uses locales want to find
the offending conversions and post a patch?

-- 
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/