-
-
Notifications
You must be signed in to change notification settings - Fork 31.2k
New issue
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? Sign in to your account
gh-123341: Support tkinter.Event
type subcript
#123353
Conversation
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
tkinter.Event
subscriptabletkinter.Event
type subcript
Is this the only class in tkinter that needs this treatment? |
Thanks for the review it's a bit late now, will be resolving everything tomorrow. Is this significant enough to require a news entry? If so, let me know. I couldn't find any other classes that need to implement this behaviour (in tkinter at least, the stdlib as a whole has plenty), so yeah, that should be the only class. |
Yes, add a news entry |
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
I have made the requested changes; please review again |
Thanks for making the requested changes! @sobolevn: please review the changes made to this pull request. |
Looks like |
Our tkinter doc is deficient unless one considers it as incorporating other docs by reference, in which case Event is well documented. Its details are essential for working with events. But that does not help the role linker. Add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Should be good to go now |
Adds
__class_getitem__
totkinter.Event
and addstkinter.Event
to the list of generic typestkinter.Event
is not subscriptable at runtime but generic in stub file #123341