Re: [python-tulip] asyncio.wait(FIRST_COMPLETED) returns more than one completions - 3.4rc2

2014-03-19 Thread Imran Geriskovan
A typical scenario...
Stateful resources recycled among multiple consumers.
Shortcut above seems nice on screen.
Imran


Re: [python-tulip] asyncio.wait(FIRST_COMPLETED) returns more than one completions - 3.4rc2

2014-03-19 Thread Guido van Rossum
OK, now that you understand how wait() works you should be able to write
code that does what you want.


On Wed, Mar 19, 2014 at 12:14 PM, Imran Geriskovan 
imran.gerisko...@gmail.com wrote:

 A typical scenario...
 Stateful resources recycled among multiple consumers.
 Shortcut above seems nice on screen.
 Imran




-- 
--Guido van Rossum (python.org/~guido)