[issue41817] Incorrect types in tkinter.EventType Enum

2020-09-22 Thread Ethan Furman
Change by Ethan Furman : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue41817] Incorrect types in tkinter.EventType Enum

2020-09-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +21406 pull_request: https://github.com/python/cpython/pull/22367 ___ Python tracker ___

[issue41817] Incorrect types in tkinter.EventType Enum

2020-09-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +21405 pull_request: https://github.com/python/cpython/pull/22366 ___ Python tracker

[issue41817] Incorrect types in tkinter.EventType Enum

2020-09-22 Thread Ethan Furman
Ethan Furman added the comment: New changeset ea0711a9f9f207d6d4ca037d90de6ec60db131b0 by Ethan Furman in branch 'master': bpo-41817: use new StrEnum to ensure all members are strings (GH-22348) https://github.com/python/cpython/commit/ea0711a9f9f207d6d4ca037d90de6ec60db131b0 --

[issue41817] Incorrect types in tkinter.EventType Enum

2020-09-21 Thread Ethan Furman
Change by Ethan Furman : -- keywords: +patch pull_requests: +21387 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/22348 ___ Python tracker

[issue41817] Incorrect types in tkinter.EventType Enum

2020-09-19 Thread Ethan Furman
New submission from Ethan Furman : 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