import Tkinter
try:
- gui = GUI(Tkinter.Tk())
- Tkinter.mainloop()
+ root = Tkinter.Tk()
+ # Tk will crash if pythonw.exe has an XP .manifest
+ # file and the root has is not destroyed explicitly.
+ # If the problem is ever fixed in Tk, the explicit
+ # destroy can go.
+ try:
+ gui = GUI(root)
+ root.mainloop()
+ finally:
+ root.destroy()
except KeyboardInterrupt:
pass
Library
-------
+- Patch #997284: Allow pydoc to work with XP Themes (.manifest file)
+
- Patch #808719: Ignore locale's encoding in IDLE if it is an empty string.
- Patch #946153: Add wait_visibility before grab_set.