Commit ae7f7d7
gh-84008: Document that the LC_NUMERIC locale affects tkinter numeric widgets
Spinbox, Scale and ttk.Spinbox format floating-point values according to
the LC_NUMERIC locale, but such values are always parsed with a period, so
a comma-decimal locale breaks DoubleVar.get().
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 2ac1611 commit ae7f7d7
2 files changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5042 | 5042 | | |
5043 | 5043 | | |
5044 | 5044 | | |
| 5045 | + | |
| 5046 | + | |
| 5047 | + | |
5045 | 5048 | | |
5046 | 5049 | | |
5047 | 5050 | | |
| |||
5140 | 5143 | | |
5141 | 5144 | | |
5142 | 5145 | | |
| 5146 | + | |
| 5147 | + | |
| 5148 | + | |
5143 | 5149 | | |
5144 | 5150 | | |
5145 | 5151 | | |
| |||
6028 | 6034 | | |
6029 | 6035 | | |
6030 | 6036 | | |
| 6037 | + | |
| 6038 | + | |
| 6039 | + | |
| 6040 | + | |
| 6041 | + | |
| 6042 | + | |
| 6043 | + | |
| 6044 | + | |
| 6045 | + | |
| 6046 | + | |
| 6047 | + | |
| 6048 | + | |
6031 | 6049 | | |
6032 | 6050 | | |
6033 | 6051 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
466 | 469 | | |
467 | 470 | | |
468 | 471 | | |
| |||
0 commit comments