Antoine Pitrou added the comment: > The previous patch is broken, here is a fixed, more complicated, > patch. May be this class would be useful in other tests.
I don't understand what you're gaining with this complicated class: your class guarantees that the sleepers will be woken up, but it doesn't guarantee that any user code will actually run. Perhaps the whole thing would be simpler if your tests used a Queue instead of a list? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16843> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com