Gustavo J. A. M. Carneiro wrote:
I posted a test program this morning.
I suspect this is an incompatibility of PyGTK with Python 2.4. It would be nice if you could post a small test program to [1] demonstrating this problem, so that we can fix it ASAP.
[1] http://bugzilla.gnome.org/show_bug.cgi?id=164451
I also found a workaround but I am not quite sure this is the good way to deal with this problem :
import locale
import pygtk
pygtk.require('2.0')
import gtk
locale.setlocale(locale.LC_ALL, '') <- Invoke "setlocale" *after* importing pygtk and gtk
locale.atof("3,1415")
Regards,
St�phane
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
