[New-bugs-announce] [issue31135] test_ttk_guionly doesn't destroy all widgets

STINNER Victor report at bugs.python.org
Mon Aug 7 20:46:39 EDT 2017


New submission from STINNER Victor:

While working on bpo-31068, I wrote attached widget_instance.patch to check if test_ttk_guionly really removes all widgets. Bad news: it doesn't. Example:

haypo at selma$ ./python -m test  -u all test_ttk_guionly
(...)
test test_ttk_guionly crashed -- <type 'exceptions.Exception'>: leaking 69 widgets
(...)

Attached fix_destroy.patch is my attempt to fix this issue.

----------
components: Tkinter
files: widget_instance.patch
keywords: patch
messages: 299880
nosy: haypo
priority: normal
severity: normal
status: open
title: test_ttk_guionly doesn't destroy all widgets
type: resource usage
versions: Python 2.7
Added file: http://bugs.python.org/file47061/widget_instance.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31135>
_______________________________________


More information about the New-bugs-announce mailing list