[issue27245] IDLE: Fix deletion of custom themes and key bindings

2017-06-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: 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 -- assignee: -> terry.reedy ___ Python tracker

[issue27245] IDLE: Fix deletion of custom themes and key bindings

2016-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: 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

[issue27245] IDLE: Fix deletion of custom themes and key bindings

2016-06-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3ac9e7466d8b by Terry Jan Reedy in branch 'default': Issue #27245: revert temporary rename https://hg.python.org/cpython/rev/3ac9e7466d8b -- ___ Python tracker

[issue27245] IDLE: Fix deletion of custom themes and key bindings

2016-06-13 Thread Roundup Robot
Roundup Robot added the comment: 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:

[issue27245] IDLE: Fix deletion of custom themes and key bindings

2016-06-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Proposed patch should fix this issue. -- components: +IDLE keywords: +patch nosy: +serhiy.storchaka stage: test needed -> patch review versions: +Python 2.7, Python 3.5 Added file: http://bugs.python.org/file43275/idle_delete_current_theme.patch

[issue27245] IDLE: Fix deletion of custom themes and key bindings

2016-06-06 Thread Terry J. Reedy
New submission from Terry J. Reedy: 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