Herm Fischer <[email protected]> added the comment:
The attached test case demonstrates this issue, run on pthyon 3.1.3 x64 and
included tkinter.
When running on US Locale, runs fine. Numbers have the period decimal point,
no exceptions raised.
Then select control panel, "Language or Region", "Change keyboards and input
methods", Formats tab, and I selected Dutch(Netherlands), press ok. Rerun.
(I'm running under Eclipse, so exceptions do not terminate the program). Note
these exceptions as listbox is filled and autoscrolls, and as well, if you
manually scroll, same exceptions get raised:
File "C:\Python31\lib\tkinter\__init__.py", line 1399, in __call__
return self.func(*args)
File "C:\Python31\lib\tkinter\__init__.py", line 2797, in set
self.tk.call((self._w, 'set') + args)
_tkinter.TclError: expected floating-point number but got "0,02"
----------
Added file: http://bugs.python.org/file19973/ListboxScrollbarLocaleIssue.py
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue10647>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com