This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients andtorg, kbk, ned.deily, python-dev, roger.serwy, serhiy.storchaka, terry.reedy
Date 2014-10-13.07:15:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1526829.1OHGB0YQ9n@raxxla>
In-reply-to <1413152264.95.0.991900961303.issue20567@psf.upfronthosting.co.za>
Content
> You left this issue number off your tkinter test updates, such as
> f6f098bdb843.

This is minor change. Actually, it should be done yet in issue22236, I had 
just missed it, because these warnings was produced only in 2.7.

> By using .update_idletasks instead of .update, are you
> assuming that their are no user events, or that they should be ignormed?

There are not only "user" events. When you create or configure some widgets, 
some actions is not executed immediately (in particular changing a theme), but 
they are deferred to the next call of update() or update_idletasks(). When you 
call update_idletasks(), these harmless events are quickly handled without 
errors. This is only known me way to clear events queue.

> I was wondering whether it would be Ok, if not a good idea, to run tests,
> and maybe Idle itself, with NoDefaultRoot.

I support it. There are some places in IDLE or tests which should be fixed, 
they are used default master.

> I cannot use exactly the same design as AbstractTkTest since
> I sometimes do other things in setUp/tearDownClass, but I could define
> create_test_root() and delete_test_root() functions in a support file.

See Lib/tkinter/test/test_tkinter/test_images.py. Image tests do  other things 
in setUpClass/tearDownClass, but calls parent's method too.
History
Date User Action Args
2014-10-13 07:15:53serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, kbk, ned.deily, roger.serwy, python-dev, andtorg
2014-10-13 07:15:53serhiy.storchakalinkissue20567 messages
2014-10-13 07:15:53serhiy.storchakacreate