Kristján Valur Jónsson <krist...@ccpgames.com> added the comment:

The wait_for() method is basically a distillation of the Semaphore.acquire() 
method, which tries to intelligently handle a non-trivial timeout.
With this method it is now possible to simplify Semaphore.acquire, although I 
didn't want to do so in this patch to keep its scope smaller.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10260>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to