João Bernardo added the comment: > 1) It should check all predicates. OK. Maybe later there could be an option for customization?
> 2) It should return a list of ready conditions. OK. > 3) It should *not* accept a list of conditions. The list option would be to simplify the "wait" method... Avoiding things like: {cond: (lambda: True)} > 4) from_condition() should be removed. OK. Could the Lock object be made part of the api, then? like "self.lock" instead of "self._lock" I'm OK with the rest of your post. Will make new patch ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18078> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com