Glenn Langford added the comment: Revised patch; I don't think there is a need to sort the keys when waiters are being removed since only one lock is acquired at a time. Stress tests on both wait() and as_completed() work with this approach.
---------- Added file: http://bugs.python.org/file33748/issue20319-no-sort.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20319> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com