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 terry.reedy
Date 2018-06-27.03:00:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1530068407.8.0.56676864532.issue33975@psf.upfronthosting.co.za>
In-reply-to
Content
Because of import caching, subsequent pyshell imports, after the first, do not re-call the Windows API.

Apparently, 'root.destroy()' undoes a previous 'root = Tk()', but not a previous pyshell import.  Since IDLE unittests always destroy roots, a unittest before an htest does not require anything more to work right.

Since part of the purpose of human-viewed tests is to determine that widgets look right, it is important that they look the same for testing
as when running IDLE.
History
Date User Action Args
2018-06-27 03:00:07terry.reedysetrecipients: + terry.reedy
2018-06-27 03:00:07terry.reedysetmessageid: <1530068407.8.0.56676864532.issue33975@psf.upfronthosting.co.za>
2018-06-27 03:00:07terry.reedylinkissue33975 messages
2018-06-27 03:00:07terry.reedycreate