New submission from Terry J. Reedy:

When running "python_d.exe -m test_idle from console or when running test file 
from IDLE after starting it in either console or by import, the following 
sometimes appears.

can't invoke "event" command: application has been destroyed
    while executing
"event generate $w <<ThemeChanged>>"
    (procedure "ttk::ThemeChanged" line 6)
    invoked from within
"ttk::ThemeChanged"

Serhiy, this is pobably not critical, but it is annoying.  Perhaps the 
'kill-callbacks' patch would fix this.  Still, I try to have IDLE tests cleanup 
properly.

Known repeatable occurrences:
* test_configdialog.ConfigDialogTest.test_dialog, when run from IDLE after 
import, but not when part of suite.
* test_replace.ReplaceDialogTest.test_default_command, 3 times, when run as 
part suite, but not when run from IDLE after import.

----------
components: IDLE, Tkinter
messages: 267078
nosy: serhiy.storchaka, terry.reedy
priority: normal
severity: normal
stage: needs patch
status: open
title: Eliminate 'ThemeChanged' warning when running IDLE tests
type: behavior
versions: Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27196>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to