Ali Amin-Nejad added the comment:
It seems like it must be a mac-specific issue just on 8.6.11 then if ned
couldn't reproduce on 8.6.12. How does one go about upgrading their tkinter
version? Thanks
--
___
Python tracker
<https://bugs.python.
Ali Amin-Nejad added the comment:
Thanks Serhiy, the output is:
['StateSpec']
['']
--
___
Python tracker
<https://bugs.python.org/issue45957>
___
___
Python-bug
Ali Amin-Nejad added the comment:
@serhiy.storchaka I tried that command, the returned value is not an empty
string, it is an object of type . However including
that line in my script immediately after creating the `root` object actually
fixes the problem - no more error and the button
New submission from Ali Amin-Nejad :
On macOS, the following minimal example:
```
import tkinter as tk
root = tk.Tk()
button = tk.Button(root, text="Exit", command=root.destroy)
button.pack()
root.wm_overrideredirect(True)
root.mainloop()
```
yields the following stack trace:
```