[issue22236] Do not use _default_root in Tkinter tests

2014-10-30 Thread Ned Deily
Ned Deily added the comment: See Issue22770 for details of a potential Tk crash that can occur on OS X when running tests as a result of these changes and for a workaround. -- nosy: +ned.deily ___ Python tracker _

[issue22236] Do not use _default_root in Tkinter tests

2014-08-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Terry and Zachary for your reviews. I have committed the patch in haste because other issues depend on it. -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed _

[issue22236] Do not use _default_root in Tkinter tests

2014-08-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 32fdaf401e50 by Serhiy Storchaka in branch '2.7': Issue #22236: Tkinter tests now don't reuse default root window. New root http://hg.python.org/cpython/rev/32fdaf401e50 New changeset dd1dffe6f0d2 by Serhiy Storchaka in branch '3.4': Issue #22236:

[issue22236] Do not use _default_root in Tkinter tests

2014-08-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In updated patch the root windows is created only once per test class. -- Added file: http://bugs.python.org/file36428/tkinter_no_default_root_2.patch ___ Python tracker

[issue22236] Do not use _default_root in Tkinter tests

2014-08-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: For idle tests, I already avoid the default root and (intend to) create all widgets as a descendent of an explicit root. This allows explicit deletion and avoidance of error messages and memory leaks. This seems to cover the majority of changes. An explicit

[issue22236] Do not use _default_root in Tkinter tests

2014-08-20 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Currently many Tkinter tests depends on tkinter._default_root. I.e. they reuse the same Tcl interpreter and main window. This can cause unexpected dependencies between tests. Proposed patch creates new root for every test, this makes tests mutually indepen