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.

Author thawn
Recipients thawn
Date 2020-03-04.18:18:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1583345930.38.0.475106859206.issue39827@roundup.psfhosted.org>
In-reply-to
Content
I just found the following code in lines 314-320 of [tkinter/ttk.py](https://github.com/python/cpython/blob/master/Lib/tkinter/ttk.py), which are clearly not localization-aware:
```
def _to_number(x):
    if isinstance(x, str):
        if '.' in x:
            x = float(x)
        else:
            x = int(x)
    return x
```

I'll keep looking for similar stuff and add a pull request once I think I have nailed down the issue
I'll look for something similar in
History
Date User Action Args
2020-03-04 18:18:50thawnsetrecipients: + thawn
2020-03-04 18:18:50thawnsetmessageid: <1583345930.38.0.475106859206.issue39827@roundup.psfhosted.org>
2020-03-04 18:18:50thawnlinkissue39827 messages
2020-03-04 18:18:50thawncreate