Re: [pygtk] PyGTK and locales

1999-02-23 Thread Aaron Optimizer Digulla
Quoting James Henstridge [EMAIL PROTECTED]: when you import gtk, setlocale is called (it is required for use with Asian languages). I guess your locale doesn't use the dot for decimal points. To force the use of normal C number formats, set the environment variable LC_NUMERIC to C:

Re: [pygtk] PyGTK and locales

1999-02-23 Thread Andreas Degert
James Henstridge [EMAIL PROTECTED] writes: On Tue, 23 Feb 1999, Aaron Optimizer Digulla wrote: Quoting Andreas Degert [EMAIL PROTECTED]: Hello, can anyone confirm this or have an idea what is happening? ~$ LANG=en_US python Python 1.5.1 (#1, Jun 18 1998, 12:39:25) [GCC

[pygtk] 1:1 mapping between C and Python objects

1999-02-23 Thread Hrvoje Niksic
I thought about this some more, and then returned to an earlier message of James'. I think I spotted a flaw in James' logic. Here is the excerpt: I looked at this a bit, but it is a little difficult. First of all, you want these two things to occur: - The C level GtkObject

Re: [pygtk] new snapshot of pygtk and gnome-python

1999-02-23 Thread James Henstridge
Probably just have to revert to the old way. Convert getattr(self, i) to "self.get_data(i)" and setattr(self, i, a) to "self.set_data(i, a)" James Henstridge. -- Email: [EMAIL PROTECTED] WWW: http://www.daa.com.au/~james/ On Tue, 23 Feb 1999, Sam Tannous wrote: Sorry for my stupidity,

Re: [pygtk] 1:1 mapping between C and Python objects

1999-02-23 Thread James Henstridge
I have not taken a detailed look into how much work would be required to implement this idea. Also, uni started this week so I will not have quite as much time as I have had over the holidays. If anyone wants to test out this idea, it would be great. It seems like a big job adding that kind of