Skip to content

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

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

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 September 17, 2021 16:34
@github-actions
Copy link

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

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Oct 18, 2021
@ambv ambv merged commit add46f8 into python:main Oct 21, 2021
@ambv ambv added the needs backport to 3.10 only security fixes label Oct 21, 2021
@miss-islington
Copy link
Contributor

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

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

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Oct 21, 2021
@ambv ambv added needs backport to 3.9 only security fixes needs backport to 3.10 only security fixes labels Oct 21, 2021
@miss-islington
Copy link
Contributor

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

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

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

@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label Oct 21, 2021
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 21, 2021
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 21, 2021
@ambv ambv removed the needs backport to 3.10 only security fixes label Oct 21, 2021
ambv pushed a commit that referenced this pull request Oct 21, 2021
ambv pushed a commit that referenced this pull request Oct 21, 2021
ambv added a commit that referenced this pull request Nov 2, 2021
ambv added a commit to ambv/cpython that referenced this pull request Nov 4, 2021
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 5, 2021
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 5, 2021
ambv added a commit that referenced this pull request Nov 5, 2021
ambv added a commit that referenced this pull request Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Stale PR or inactive for long period of time.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants