This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: tkfileDialog on NT makes float fr specif
Type: Stage:
Components: Tkinter Versions:
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: loewis
Priority: normal Keywords:

Created on 2001-06-10 20:20 by anonymous, last changed 2022-04-10 16:04 by admin. This issue is now closed.

Messages (3)
msg5003 - (view) Author: Nobody/Anonymous (nobody) Date: 2001-06-10 20:20
If I use the line: (Tkinter 8.3 for Python 2.0)
file = tkFileDialog.askopenfilename(...)
on an NT french workstation, that turn off floats 
using dot but comma separator for Tcl...
then if your have defined a Text widget, calling 
self.yview('moveto', '1.0') failed with an unavailable 
type error:
TclError: expected floating-point number but got "1.0"
this appends in lib-tk\Tkinter.py line 2846 in yview
self.tk.call((self._w, 'yview') + what)

But the bugs in my opinion comes from Tcl tkFileDialog 
which activate a flag about float memory 
representation for tcl.

The problem is that I'm unable to find the turnarround 
i.e. finding tcl methode to turn on US float 
representation.

All help may be pleased.

Jerry alias the foolish dracomorpheus
python french fan ;-)

msg5004 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-02-24 17:17
Logged In: YES 
user_id=21627

I can't reproduce that problem. I only have a German XP
installation, but it should behave similarly in these
respect. I've been using Python 2.2.

Can you attach a small script to this report which
demonstrates the problem?
msg5005 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-03-29 09:37
Logged In: YES 
user_id=21627

No feedback forthcoming, closing the report.
History
Date User Action Args
2022-04-10 16:04:07adminsetgithub: 34606
2001-06-10 20:20:34anonymouscreate