Re: [pygtk] Bug#59713: Strange interaction between gtk and math

2000-03-09 Thread Andreas Voegele
>> Probably LC_NUMERIC should be set to "C" in gtkmodule.c after >> calling gtk_set_locale(): > This only hides the problem. I will investigate. Hm, look at python-1.5.2/Misc/HISTORY: "In fact, we've pretty much decided that Python's standard numerical formatting operations should

Re: [pygtk] Bug#59713: Strange interaction between gtk and math

2000-03-09 Thread Bernhard Herzog
Matt Wilson <[EMAIL PROTECTED]> writes: > On Thu, Mar 09, 2000 at 03:04:03PM +0100, Andreas Voegele wrote: > > Probably LC_NUMERIC should be set to "C" in gtkmodule.c after calling > > gtk_set_locale(): > > This only hides the problem. I will investigate. I've got a similar problem: herzog:~>

Re: [pygtk] Bug#59713: Strange interaction between gtk and math

2000-03-09 Thread Matt Wilson
On Thu, Mar 09, 2000 at 03:04:03PM +0100, Andreas Voegele wrote: > Probably LC_NUMERIC should be set to "C" in gtkmodule.c after calling > gtk_set_locale(): This only hides the problem. I will investigate. Matt To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

[pygtk] Bug#59713: Strange interaction between gtk and math

2000-03-09 Thread Andreas Voegele
> Maths behave strangely after importing * from gtk: > >>> from math import sqrt, exp > >>> 4*exp(-.5)/sqrt(2.0) > 1.71552776992 > >>> from gtk import * > >>> 4*exp(-.5)/sqrt(2.0) > 2,82842712475 It doesn't happen if LC_NUMERIC is set to "C" instead of "fr_FR". Probably LC