Skip to content

[3.6] bpo-31135: ttk: fix LabeledScale and OptionMenu destroy() method (#3025) #3030

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 1 commit into from
Aug 9, 2017
Merged

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Aug 8, 2017

bpo-31135: Call the parent destroy() method even if the used
attribute doesn't exist.

The LabeledScale.destroy() method now also explicitly clears label
and scale attributes to help the garbage collector to destroy all
widgets.
(cherry picked from commit cd7e9c1)

https://bugs.python.org/issue31135

bpo-31135: Call the parent destroy() method even if the used
attribute doesn't exist.

The LabeledScale.destroy() method now also explicitly clears label
and scale attributes to help the garbage collector to destroy all
widgets.
(cherry picked from commit cd7e9c1)
@vstinner vstinner changed the title [3.6] ttk: fix LabeledScale and OptionMenu destroy() method (#3025) [3.6] bpo-31135: ttk: fix LabeledScale and OptionMenu destroy() method (#3025) Aug 8, 2017
@vstinner vstinner merged commit 33460fa into python:3.6 Aug 9, 2017
@vstinner vstinner deleted the ttk36 branch August 10, 2017 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants