<p dir="ltr"><br>
On Apr 17, 2015 8:59 PM, "Yury Selivanov" <<a href="mailto:yselivanov.ml@gmail.com">yselivanov.ml@gmail.com</a>> wrote:<br>
><br>
> <snip><br>
><br>
>     async with EXPR as VAR:<br>
>         BLOCK<br>
><br>
><br>
>  <snip><br>
><br>
>     async for TARGET in ITER:<br>
>         BLOCK<br>
>     else:<br>
>         BLOCK2<br>
></p>
<p dir="ltr">Is this really something that should restricted to async?  I could see similar syntax being useful for multithreading, multiprocessing, MPI, etc. What about a more general language feature, where any class implementing certain magic methods could be used in this way?</p>