Skip to content
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

bpo-45160: Ttk optionmenu only set variable once #28291

Merged
merged 3 commits into from Oct 21, 2021

Conversation

E-Paine
Copy link
Contributor

@E-Paine E-Paine commented Sep 11, 2021

Since we were manually setting the variable (as well as the radiobutton), callbacks registered using the variable's trace method would be called twice.

TODO: Tests

Note: I probably won't be able to look at this now for ~ a week.

https://bugs.python.org/issue45160

@E-Paine E-Paine marked this pull request as ready for review Sep 17, 2021
@E-Paine E-Paine requested a review from serhiy-storchaka Sep 17, 2021
@github-actions
Copy link

@github-actions github-actions bot commented Oct 18, 2021

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Oct 18, 2021
@ambv ambv merged commit add46f8 into python:main Oct 21, 2021
12 checks passed
@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Oct 21, 2021

Thanks @E-Paine for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒🤖

@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Oct 21, 2021

GH-29131 is a backport of this pull request to the 3.10 branch.

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Oct 21, 2021

Thanks @E-Paine for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒🤖

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Oct 21, 2021

Thanks @E-Paine for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒🤖

@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Oct 21, 2021

GH-29132 is a backport of this pull request to the 3.9 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this issue Oct 21, 2021
(cherry picked from commit add46f8)

Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Oct 21, 2021
(cherry picked from commit add46f8)

Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Oct 21, 2021
(cherry picked from commit add46f8)

Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
ambv pushed a commit that referenced this issue Oct 21, 2021
(cherry picked from commit add46f8)

Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
ambv pushed a commit that referenced this issue Oct 21, 2021
(cherry picked from commit add46f8)

Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Nov 5, 2021
… (pythonGH-29416)

(cherry picked from commit 54d1e3f)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Nov 5, 2021
… (pythonGH-29416)

(cherry picked from commit 54d1e3f)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Nov 5, 2021
… (pythonGH-29416)

(cherry picked from commit 54d1e3f)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
ambv added a commit that referenced this issue Nov 5, 2021
…-29416) (GH-29420)

(cherry picked from commit 54d1e3f)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
ambv added a commit that referenced this issue Nov 5, 2021
…-29416) (GH-29421)

(cherry picked from commit 54d1e3f)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA signed stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants