Justin added the comment:
Thank you very much. I understand and just wanted to let you know.
In brew I opened up this
ticket(https://github.com/Homebrew/homebrew-core/issues/67327) with that team.
--
___
Python tracker
Ned Deily added the comment:
As explained above, this crash will happen with any Python that links to the
deprecated Apple-supplied system Tk framework in macOS versions from macOS 10.7
to 11 Big Sur. If you want to use tkinter, you need to use a Python that links
to a newer version of Tk.
Justin added the comment:
FYI, I just brew installed python and with:
```
Python 3.9.1 (default, Dec 17 2020, 03:56:09)
[Clang 11.0.0 (clang-1100.0.33.17)] on darwin
```
This issue still happens
--
___
Python tracker
Ned Deily added the comment:
> Which version of TK 8.5.X fixes this, 8.5.18.0?
Yes, that version of Tk 8.5 does not have this problem. But Tk 8.5 is no longer
supported by the Tcl project; we recommend the use of Tk 8.6. In general, you
usually cannot just swap Tk versions; the Python
Justin added the comment:
Thanks for responding so quickly.
1. My python version is:
Python 3.8.6 (default, Oct 8 2020, 14:07:53)
[Clang 11.0.0 (clang-1100.0.33.17)] on darwin
2. N/A
3. >>> from tkinter.test.support import *
>>> get_tk_patchlevel()
(8, 5, 9, 'final', 0)
4. No; the pygame
Ned Deily added the comment:
The problem here undoubtedly is that the Python you are using is linked with
the Apple-provided system version of Tk 8.5.9 which exhibits this nasty
behavior of crashing when pressing a composing key. The system version of Tk is
woefully out of date with other
E. Paine added the comment:
Thank you for reporting this. I just have a few questions:
1. Which Python version are you using?
2. If Python 3.9.1, which installer did you use?
3. What does `tkinter.test.support.get_tk_patchlevel()` output?
4. Does your pygame example suffer the same issue (I
Justin added the comment:
Sorry my verification keyboard listener program is not the pygame one. It is
this one:
```
from tkinter import *
def keyup(e):
print('up', e.__dict__)
def keydown(e):
print('down', e.__dict__)
root = Tk()
frame = Frame(root, width=100, height=100)
New submission from Justin :
On macOs 10.14.6 laptop with a qwerty layout, when I switch my keyboard layout
to `French - PC` and use a tkinter keyboard listener
and press the '[' button which should be the '^' button on the azerty keyboard,
this Error is thrown:
```
2020-12-14 10:13:26.533