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 terry.reedy
Recipients ned.deily, taleinat, terry.reedy
Date 2021-06-07.22:11:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623103874.61.0.73340569254.issue44330@roundup.psfhosted.org>
In-reply-to
Content
Yes, I have the 'old' 3.9.5.  In IDLE, ^C does not break the hang, but Restart Shell does.  As I expected, I had to skip test_outwin's test_write and test_writelines to stop that test hanging.

Next failure: test_sidebar.LineNumbersTest ends with test_toggle_linenumbering ... OK.  That is the last test method and the hang is in tearDownClass "cls.root.update()".  Changing to .update_idletasks() fixes this.  I believe that the latter is what we usually use before destroying root.  But still, update should not crash.  At worst, a TclError.

With this fix, test_idle passes.  So do test_tcl and test_ttk_textonly.  Test_tk and test_ttk_guionly each have 1 failure.  (For me) The test suite as a whole is a mess, with multiple Python-crashed message boxes.
History
Date User Action Args
2021-06-07 22:11:14terry.reedysetrecipients: + terry.reedy, taleinat, ned.deily
2021-06-07 22:11:14terry.reedysetmessageid: <1623103874.61.0.73340569254.issue44330@roundup.psfhosted.org>
2021-06-07 22:11:14terry.reedylinkissue44330 messages
2021-06-07 22:11:14terry.reedycreate