dabeaz / curio

Good Curio!
Other
4.02k stars 241 forks source link

Wait for wrapped futures directly in get and put #268

Closed andersea closed 5 years ago

andersea commented 6 years ago

This patch removes the call with asyncio.wait_for in the asyncio versions of UniversalQueue.put and get. Since Asyncio can directly await wrapped futures. Using asyncio.wait_for with a timeout of zero does nothing.

Closes #267