We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
assignee = None
closed_at = <Date 2020-09-22.20:02:54.000>
created_at = <Date 2020-09-19.19:36:58.809>
labels = ['3.8', 'library', '3.9', '3.10']
title = 'Incorrect types in tkinter.EventType Enum'
updated_at = <Date 2020-09-22.20:02:54.000>
user = 'https://github.com/ethanfurman'
activity = <Date 2020-09-22.20:02:54.000>
actor = 'ethan.furman'
assignee = 'none'
closed = True
closed_date = <Date 2020-09-22.20:02:54.000>
closer = 'ethan.furman'
components = ['Library (Lib)']
creation = <Date 2020-09-19.19:36:58.809>
creator = 'ethan.furman'
dependencies = 
files = 
hgrepos = 
issue_num = 41817
keywords = ['patch']
message_count = 2.0
messages = ['377188', '377334']
nosy_count = 5.0
nosy_names = ['terry.reedy', 'gpolo', 'ethan.furman', 'serhiy.storchaka', 'miss-islington']
pr_nums = ['22348', '22366', '22367']
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue41817'
versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']
The text was updated successfully, but these errors were encountered:
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.)
Sorry, something went wrong.
New changeset ea0711a by Ethan Furman in branch 'master':
bpo-41817: use new StrEnum to ensure all members are strings (GH-22348)
No branches or pull requests