On Tue, 2005-01-18 at 10:56 -0500, St�phane Brunet wrote:
> Gustavo J. A. M. Carneiro wrote:
> 
> >
> >  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 posted a test program this morning.
> 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")

  Thanks, but please comment on bugzilla instead of on this thread.  It
is better to have all information regarding a bug in a single place than
having to look through the list archives...

> 
> 
> 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/
-- 
Gustavo J. A. M. Carneiro
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
The universe is always one step beyond logic.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to