Re: [Tutor] Floating point error in tkinter

2012-03-10 Thread Alan Gauld
On 10/03/12 19:40, Válas Péter wrote: Better to say: I think it is a Tkinter bug (unless we expect Windows to adapt itself to Python), and Tkinter is part of the Python But it's really a Tcl bug because Tkinter is built on top of Tcl/Tk and (mostly) cannot fix bugs that exist in the un

Re: [Tutor] Floating point error in tkinter

2012-03-10 Thread Válas Péter
Sorry for sending it in private first, Steven drew my attention to it. This list has a strange setting, I got used to lists that send replies automatically to list, and did not notice the error. 2012. március 9. 18:53 Válas Péter írta, : > 2012/3/9 Steven D'Aprano > >> >> What makes you think it

Re: [Tutor] Floating point error in tkinter

2012-03-09 Thread Alan Gauld
On 09/03/12 13:09, Válas Péter wrote: flood my screen and it won't work. Dou you think this is a Python bug? It's probably not a Python bug but a Tcl/Tk bug. It would be worth asking about it on a Tcl/Tk forum - or maybe even the Tkinter list. File "c:\python27\lib\lib-tk\Tkinter.py", l

Re: [Tutor] Floating point error in tkinter

2012-03-09 Thread Steven D'Aprano
On Fri, Mar 09, 2012 at 02:09:23PM +0100, Válas Péter wrote: > Hi, > > I use a tkinter-based editor that ran properly earlier on English Windows > XP. Now I use Hungarian Windows 7 with Python 2.7.2. You must know that in > Hungary decimal fractions are marked with a decimal comma, not a dot (e.g.

[Tutor] Floating point error in tkinter

2012-03-09 Thread Válas Péter
Hi, I use a tkinter-based editor that ran properly earlier on English Windows XP. Now I use Hungarian Windows 7 with Python 2.7.2. You must know that in Hungary decimal fractions are marked with a decimal comma, not a dot (e.g. pi=3,1415...). I suspect it somehow gets a Hungarian decimal from Win