Philipp Emanuel Weidmann added the comment:
I upgraded to Python 2.7.9 and ActiveTcl 8.5.17.0 as suggested. I confirmed
that this is the Tk version actually used by looking at Python's About dialog.
The problem persists.
--
___
Python tracker
New submission from Philipp Emanuel Weidmann:
Minimal code example:
from Tkinter import Tk
from tkSimpleDialog import askstring
def close_handler():
askstring('', '')
root.destroy()
root = Tk()
root.protocol('WM_DELETE_WINDOW', close_handler)
root.mainloop()
Closing the main window
Ned Deily added the comment:
By default Python, do you mean the Apple supplied Python in /usr/bin? If so, it
uses an old Apple supplied Tk 8.5. Can you reproduce the problem with the
current python.org 2.7.9 with the current ActiveState Tk 8.5 installed?
--
nosy: +ned.deily