Kaydet (Commit) 8c8ec2c3 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Patch #997284: Allow pydoc to work with XP Themes (.manifest file)

üst 346dc927
...@@ -2056,8 +2056,16 @@ def gui(): ...@@ -2056,8 +2056,16 @@ def gui():
import Tkinter import Tkinter
try: try:
gui = GUI(Tkinter.Tk()) root = Tkinter.Tk()
Tkinter.mainloop() # 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: except KeyboardInterrupt:
pass pass
......
...@@ -49,6 +49,8 @@ Extension modules ...@@ -49,6 +49,8 @@ Extension modules
Library 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 #808719: Ignore locale's encoding in IDLE if it is an empty string.
- Patch #946153: Add wait_visibility before grab_set. - Patch #946153: Add wait_visibility before grab_set.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment