Issue27245
Created on 2016-06-07 01:40 by terry.reedy, last changed 2022-04-11 14:58 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| idle_delete_current_theme.patch | serhiy.storchaka, 2016-06-07 06:59 | review | ||
| Messages (6) | |||
|---|---|---|---|
| msg267580 - (view) | Author: Terry J. Reedy (terry.reedy) * | Date: 2016-06-07 01:40 | |
Open IDLE by running from console or importing idlelib.idle in interactive Python window. In the IDLE Preferences dialog, create a new custom theme or key set. [Apply] or close with [OK]. Reopen, if necessary, select the new custom set as current, select Delete, and Apply or close. IDLE will delete the set and then try to read it. A warning message will appear in the console/interpreter for each item in the set that is had to replace with the default value. IDLE should replace the deleted set with one of the builtins before reading, or even better, allow and require deletion of something that is not current. |
|||
| msg267601 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * | Date: 2016-06-07 06:59 | |
Proposed patch should fix this issue. |
|||
| msg268518 - (view) | Author: Roundup Robot (python-dev) | Date: 2016-06-14 04:54 | |
New changeset 5c8cddc4a8ee by Terry Jan Reedy in branch '2.7': Issue #27245: IDLE: Cleanly delete custom themes and key bindings. https://hg.python.org/cpython/rev/5c8cddc4a8ee New changeset 438359d00a83 by Terry Jan Reedy in branch '3.5': Issue #27245: IDLE: Cleanly delete custom themes and key bindings. https://hg.python.org/cpython/rev/438359d00a83 New changeset 7948633608d5 by Terry Jan Reedy in branch 'default': Issue #27245: temporary rename for merge. https://hg.python.org/cpython/rev/7948633608d5 |
|||
| msg268519 - (view) | Author: Roundup Robot (python-dev) | Date: 2016-06-14 04:55 | |
New changeset 3ac9e7466d8b by Terry Jan Reedy in branch 'default': Issue #27245: revert temporary rename https://hg.python.org/cpython/rev/3ac9e7466d8b |
|||
| msg268521 - (view) | Author: Terry J. Reedy (terry.reedy) * | Date: 2016-06-14 05:00 | |
Patch amounts to putting 3 lines of apply inline and moving the first up to where is it needed. Serhiy, thanks for discovering the simple fix. It worked for me so I pushed it. I backported because the cascade of error messages is nasty when visible and because the forward merge was easy enough now that I know about the case clash problem. |
|||
| msg296483 - (view) | Author: Terry J. Reedy (terry.reedy) * | Date: 2017-06-20 20:19 | |
In #4765, which I just closed as a duplicate, G Polo had same idea of applying change at top. https://bugs.python.org/file14645/removekeybindingswhiletheyexist.diff |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:32 | admin | set | github: 71432 |
| 2017-06-20 20:19:28 | terry.reedy | link | issue4765 superseder |
| 2017-06-20 20:19:08 | terry.reedy | set | assignee: terry.reedy messages: + msg296483 |
| 2016-06-14 05:00:40 | terry.reedy | set | status: open -> closed resolution: fixed messages: + msg268521 stage: patch review -> resolved |
| 2016-06-14 04:55:27 | python-dev | set | messages: + msg268519 |
| 2016-06-14 04:54:06 | python-dev | set | nosy:
+ python-dev messages: + msg268518 |
| 2016-06-11 04:40:05 | serhiy.storchaka | link | issue27173 dependencies |
| 2016-06-07 06:59:47 | serhiy.storchaka | set | files:
+ idle_delete_current_theme.patch components:
+ IDLE messages:
+ msg267601 |
| 2016-06-07 01:40:32 | terry.reedy | create | |