New submission from Bohuslav "Slavek" Kabrda: On Python 2, Condition.wait timeout is always taken as
min(delay * 2, remaining, .05) which means it cannot be longer than 50 ms. I don't see a reason for this and AFAIK this is no longer true for Python 3, where timeout can be arbitrarily long. Would it be possible to replace the min() call with just "remaining" completely? If not, would it at least be possible to add an argument to wait(), that would trigger this behaviour (something like patch suggested by Jaroslav Skarvada [1] who reported this issue at [2])? Thanks. [1] https://bugzilla.redhat.com/attachment.cgi?id=736029&action=diff [2] https://bugzilla.redhat.com/show_bug.cgi?id=917709 ---------- components: Library (Lib) messages: 187060 nosy: bkabrda priority: normal severity: normal status: open title: Condition.wait timeout can't be set to more than 50 ms versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17748> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com