Skip to content

[2.7] bpo-31135: ttk: fix LabeledScale and OptionMenu destroy() method#3026

Merged
vstinner merged 1 commit into
python:2.7from
vstinner:ttk27
Aug 8, 2017
Merged

[2.7] bpo-31135: ttk: fix LabeledScale and OptionMenu destroy() method#3026
vstinner merged 1 commit into
python:2.7from
vstinner:ttk27

Conversation

@vstinner

@vstinner vstinner commented Aug 8, 2017

Copy link
Copy Markdown
Member

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

The LabeledScale.destroy() method now also explicitely clears label
and scale attributes to help the garbage collector to destroy all
widgets.

https://bugs.python.org/issue31135

@vstinner vstinner changed the title [2.7] ttk: fix LabeledScale and OptionMenu destroy() method [2.7] bpo-31135: ttk: fix LabeledScale and OptionMenu destroy() method 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.
@vstinner vstinner merged commit 56e162a into python:2.7 Aug 8, 2017
@vstinner vstinner deleted the ttk27 branch August 8, 2017 17:15
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