Skip to content

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

Merged
vstinner merged 1 commit into
python:3.6from
vstinner:ttk36
Aug 9, 2017
Merged

[3.6] bpo-31135: ttk: fix LabeledScale and OptionMenu destroy() method (#3025)#3030
vstinner merged 1 commit into
python:3.6from
vstinner:ttk36

Conversation

@vstinner

@vstinner vstinner commented Aug 8, 2017

Copy link
Copy Markdown
Member

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