-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-116484: Fix collisions between Checkbutton and ttk.Checkbutton default names #116495
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-116484: Fix collisions between Checkbutton and ttk.Checkbutton default names #116495
Conversation
…n default names Change automatically generated tkinter.Checkbutton widget names to avoid collisions with automatically generated tkinter.ttk.Checkbutton widget names within the same parent widget.
I read the diff but want to look at more of the tk/ttk code before commenting. Will try to do so after mentor meeting tomorrow. |
The proposed solution is to add You might want to consider using some character that cannot be used in a Python variable name like |
While I think a user is more likely to define I otherwise approve of the patch. |
Good point. Even if this is not very likely, it is better to be safe. |
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
…on default names (pythonGH-116495) Change automatically generated tkinter.Checkbutton widget names to avoid collisions with automatically generated tkinter.ttk.Checkbutton widget names within the same parent widget. (cherry picked from commit c61cb50) Co-authored-by: Serhiy Storchaka <[email protected]>
GH-116901 is a backport of this pull request to the 3.12 branch. |
…on default names (pythonGH-116495) Change automatically generated tkinter.Checkbutton widget names to avoid collisions with automatically generated tkinter.ttk.Checkbutton widget names within the same parent widget. (cherry picked from commit c61cb50) Co-authored-by: Serhiy Storchaka <[email protected]>
GH-116902 is a backport of this pull request to the 3.11 branch. |
…ton default names (GH-116495) (GH-116901) Change automatically generated tkinter.Checkbutton widget names to avoid collisions with automatically generated tkinter.ttk.Checkbutton widget names within the same parent widget. (cherry picked from commit c61cb50) Co-authored-by: Serhiy Storchaka <[email protected]>
…ton default names (GH-116495) (GH-116902) Change automatically generated tkinter.Checkbutton widget names to avoid collisions with automatically generated tkinter.ttk.Checkbutton widget names within the same parent widget. (cherry picked from commit c61cb50) Co-authored-by: Serhiy Storchaka <[email protected]>
…on default names (pythonGH-116495) Change automatically generated tkinter.Checkbutton widget names to avoid collisions with automatically generated tkinter.ttk.Checkbutton widget names within the same parent widget.
…on default names (pythonGH-116495) Change automatically generated tkinter.Checkbutton widget names to avoid collisions with automatically generated tkinter.ttk.Checkbutton widget names within the same parent widget.
…on default names (pythonGH-116495) Change automatically generated tkinter.Checkbutton widget names to avoid collisions with automatically generated tkinter.ttk.Checkbutton widget names within the same parent widget.
Change automatically generated tkinter.Checkbutton widget names to avoid collisions with automatically generated tkinter.ttk.Checkbutton widget names within the same parent widget.