setting a locale that uses comma as decimal separator breaks tkinter.DoubleVar
Open
Nobody has claimed this yet.
stdlib
topic-tkinter
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 39827 |
|---|---|
| Nosy | @serhiy-storchaka, @thawn, @E-Paine, @akulakov |
| Files |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None
closed_at = None
created_at = <Date 2020-03-02.15:11:30.139>
labels = ['3.7', 'type-bug', 'expert-tkinter']
title = 'setting a locale that uses comma as decimal separator breaks tkinter.DoubleVar'
updated_at = <Date 2021-08-21.08:08:14.008>
user = 'https://github.com/thawn'
bugs.python.org fields:
activity = <Date 2021-08-21.08:08:14.008>
actor = 'serhiy.storchaka'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Tkinter']
creation = <Date 2020-03-02.15:11:30.139>
creator = 'thawn'
dependencies = []
files = ['48943']
hgrepos = []
issue_num = 39827
keywords = []
message_count = 5.0
messages = ['363184', '363371', '371394', '400005', '400023']
nosy_count = 4.0
nosy_names = ['serhiy.storchaka', 'thawn', 'epaine', 'andrei.avk']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue39827'
versions = ['Python 3.7']
Linked PRs
- gh-152008
- gh-152049
- gh-152050
- gh-152051
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the attached test_doublevar.py minimal example and reproduce the failure under a locale using a comma decimal separator. Read the Tkinter DoubleVar behavior around that example, then compare the linked PRs gh-152008, gh-152049, gh-152050, and gh-152051. Done means the regression is covered by a test and DoubleVar handles the locale correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop, localization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 20/100