8 Jun
2016
8 Jun
'16
1:49 p.m.
On Jun 8, 2016, at 1:15 PM, Andrew Svetlov <andrew.svetlov@gmail.com> wrote:
asyncio.timeout behaves like asyncio.wait_for BTW. It cancels inner tasks and sends asyncio.TimeoutError to outer.
Right. And I think it’s a totally normal behaviour for asyncio. The only thing I’d fix in asyncio.timeout() (aside from resolving Ben’s questions) is to make it use ‘async with’ statement. Yury