Message219298
1. 3.3 is in security fixes only mode and shutdowning mechanism was changed in
3.4.
2. Looks as some Tk root was not explicitly destroyed and deleted during
shutdown stage.
3. Tk.destroy does nothing with images, it destroys only subcomponents and
commands. In any case it destroys only Tcl/Tk objects, not Python objects
which wrap them.
4. I think we shouldn't use _default_root outside the tkinter package. This is
implementation detail.
5. Agree, we could patch Variable/Image.__del__, and proposed patch looks
correct (other way is pass TclError as default value for optional parameter:
"def __del__(self, TclError=TclError)", both ways are widely used). But I
prefer first try to reproduce this in tests. |
|
Date |
User |
Action |
Args |
2014-05-28 20:48:56 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, pitrou, JanKanis |
2014-05-28 20:48:56 | serhiy.storchaka | link | issue18141 messages |
2014-05-28 20:48:55 | serhiy.storchaka | create | |
|