New submission from Ethan Furman <et...@stoneleaf.us>:
Several of the EventType members, such as Key, are actually tuples instead of strings. I suspect the comma was accidentally left in place when EventType was created from a different data structure. Switching the Enum type to the new StrEnum fixes the problem. (It will be merged in in the next couple days.) ---------- components: Library (Lib) messages: 377188 nosy: ethan.furman, gpolo, serhiy.storchaka, terry.reedy priority: normal severity: normal stage: needs patch status: open title: Incorrect types in tkinter.EventType Enum versions: Python 3.10, Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41817> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com