Message187060
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 |
|
Date |
User |
Action |
Args |
2013-04-16 09:22:52 | bkabrda | set | recipients:
+ bkabrda |
2013-04-16 09:22:52 | bkabrda | set | messageid: <1366104172.5.0.472723952105.issue17748@psf.upfronthosting.co.za> |
2013-04-16 09:22:52 | bkabrda | link | issue17748 messages |
2013-04-16 09:22:51 | bkabrda | create | |
|