Repository navigation
Commit 68c47df
gh-75487: Do not save a truncated number when an int entry is blanked in IDLE Settings (GH-157680)
The value is recorded on every keystroke, so blanking "80" with the
Backspace key left "8" to be saved. Blanking an entry now forgets the
recorded value, so that the saved value is kept.
(cherry picked from commit f67c51f)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent 439a440 commit 68c47df
3 files changed
Lines changed: 11 additions & 2 deletions
File tree
- Lib/idlelib
- idle_test
- Misc/NEWS.d/next/IDLE
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2285 | 2285 | | |
2286 | 2286 | | |
2287 | 2287 | | |
2288 | | - | |
2289 | | - | |
2290 | 2288 | | |
2291 | 2289 | | |
| 2290 | + | |
| 2291 | + | |
| 2292 | + | |
| 2293 | + | |
| 2294 | + | |
2292 | 2295 | | |
2293 | 2296 | | |
2294 | 2297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1711 | 1711 | | |
1712 | 1712 | | |
1713 | 1713 | | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
1714 | 1718 | | |
1715 | 1719 | | |
1716 | 1720 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments