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 zach.ware
Recipients r.david.murray, serhiy.storchaka, terry.reedy, zach.ware
Date 2014-03-04.19:24:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1393961097.62.0.00570070952078.issue20035@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a patch that seems to work; with it applied, I can run `PCbuild\python_d.exe -m test -uall -rF test_tcl test_tk test_ttk_textonly test_ttk_guionly test_idle` through at least 115 rounds of testing with no warnings or errors aside from a locale warning from test_idle the first time around.  Hacking up my rc1 install with a fresh _tkinter.pyd and patched tkinter/__init__.py, the tests all pass, but I still get the 'can't invoke "event" command: application has been destroyed' message from test_ttk_guionly.

Terry, would you mind checking how this impacts all of the Tkinter test interaction issues you're seeing?

Since this is the first non-superficial semantic C patch I've submitted, I have no doubt that it can use a lot of work :).  There are a few comments in places where I'm not really sure how best to do things that I'd really appreciate input on.  It seems to work for common cases, though.
History
Date User Action Args
2014-03-04 19:24:58zach.waresetrecipients: + zach.ware, terry.reedy, r.david.murray, serhiy.storchaka
2014-03-04 19:24:57zach.waresetmessageid: <1393961097.62.0.00570070952078.issue20035@psf.upfronthosting.co.za>
2014-03-04 19:24:57zach.warelinkissue20035 messages
2014-03-04 19:24:57zach.warecreate