Message270599
I understand the reluctance to generically encourage something that does not always arise. With Nick's promise to help examine any particular problems with deletion of tkinter modules, should they arise, I feel comfortable closing this. I already tested and applied double deletion to both 3.5 and 3.6.
The tkinter import example illustrates potential benefits from refactoring (which I will continue in #27534). For me, on Win10, 'import tkinter' in a fresh interactive interpreter boosts 'len(sys.modules) from 41 to 65. Except when run cannot start, it only uses tkinter to call _tkinter.tkapp().eval('update') in its interactive input loop. Importing _tkinter instead (a slight risk) would not import anything else.
Guido: when I need help with some of the more obscure IDLE code, I will ask. |
|
Date |
User |
Action |
Args |
2016-07-17 00:48:38 | terry.reedy | set | recipients:
+ terry.reedy, gvanrossum, brett.cannon, ncoghlan, r.david.murray, eric.snow, Decorater |
2016-07-17 00:48:38 | terry.reedy | set | messageid: <1468716518.81.0.246417793079.issue27515@psf.upfronthosting.co.za> |
2016-07-17 00:48:38 | terry.reedy | link | issue27515 messages |
2016-07-17 00:48:37 | terry.reedy | create | |
|