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 Guilherme.Simões, JayKrish, Todd.Rovito, Tomoki.Imai, alex.rodas, ezio.melotti, francismb, ncoghlan, ned.deily, python-dev, r.david.murray, roger.serwy, terry.reedy, tshepang
Date 2013-05-28.04:25:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1369715114.07.0.419425056463.issue15392@psf.upfronthosting.co.za>
In-reply-to
Content
Last I checked, test_idle passes on the stable buildbots.

But it fails on a machine without threads, such as http://buildbot.python.org/all/builders /AMD64%20Fedora%20without%20threads%203.3/builds/752/steps/test/logs/stdio
On this machine, thread-related tests are skipped: some seem expected, some not.

The chain of imports is test_pathbrowser <- PathBrowser <- ClassBrowser <- PyShell <- threading <- _thread. Since a PyShell import is required to run Idle (PyShell.main), even with just the editor, I will put the _thread import check in test_idle itself rather than sprinkling it throughout the test suite as dependencies are discovered.

(Besides the bother of the latter, the dependency could go away if PyShell only uses threading to runs user code in the same process, or delayed if it is used for other features that might not be used.)
History
Date User Action Args
2013-05-28 04:25:14terry.reedysetrecipients: + terry.reedy, ncoghlan, ned.deily, ezio.melotti, roger.serwy, r.david.murray, Todd.Rovito, tshepang, python-dev, francismb, Guilherme.Simões, JayKrish, Tomoki.Imai, alex.rodas
2013-05-28 04:25:14terry.reedysetmessageid: <1369715114.07.0.419425056463.issue15392@psf.upfronthosting.co.za>
2013-05-28 04:25:14terry.reedylinkissue15392 messages
2013-05-28 04:25:13terry.reedycreate