New submission from Kristján Valur Jónsson <krist...@ccpgames.com>:
The tests for the ConditionVariable a fragile. On a slow computer, or when running a DEBUG build, the main thread can issue a condition.notify() call, even though the worker threads have not settled in on a wait() call. This causes the test to stall. The provided patch "fixes" this by adding a short _wait() before the notify. ---------- components: Library (Lib) files: locktest.patch keywords: easy, patch, patch messages: 106349 nosy: krisvale priority: normal severity: normal status: open title: Hang in lib/test/test_threading.py type: behavior versions: Python 2.7 Added file: http://bugs.python.org/file17447/locktest.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8799> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com