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 JayKrish, Todd.Rovito, ned.deily, philwebster, python-dev, r.david.murray, terry.reedy
Date 2013-07-22.02:22:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1374459727.16.0.828834351706.issue18441@psf.upfronthosting.co.za>
In-reply-to
Content
(The fix was incomplete because 'delete' in the except clause should be 'remove'.) I finally realized that I could test the except clause by raising TclError explicitly just before it.

I reverted both changes because they do not seem to work, even with the additional fix (not committed). With or without patches,
python_d -m test -v test_idle  # runs 30 tests, as expected
python_d -m test -v -ugui test_idle  # run 40 tests, as expected
After raising TclError, the latter still runs 40 tests, which I did not expect.

It seems that 'gui' is not being removed from use_resources. Since debug print()s in test_idle do not show up on the console, I cannot easily see what is going on.
History
Date User Action Args
2013-07-22 02:22:07terry.reedysetrecipients: + terry.reedy, ned.deily, r.david.murray, Todd.Rovito, python-dev, JayKrish, philwebster
2013-07-22 02:22:07terry.reedysetmessageid: <1374459727.16.0.828834351706.issue18441@psf.upfronthosting.co.za>
2013-07-22 02:22:07terry.reedylinkissue18441 messages
2013-07-22 02:22:06terry.reedycreate