[Python-Dev] async/await in Python; v2

Andrew Svetlov andrew.svetlov at gmail.com
Sat Apr 25 11:01:19 CEST 2015


I used to think in the same way but found the result looks like Perl
(or Haskell), not Python.

On Sat, Apr 25, 2015 at 7:47 AM, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> Wild idea:
>
> Let "@" mean "async" when it's directly in front
> of a keyword.
>
> Then we would have:
>
>   @def f():
>      ...
>
>   @for x in iter:
>      ...
>
>   @with context as thing:
>      ...
>
> --
> Greg
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> https://mail.python.org/mailman/options/python-dev/andrew.svetlov%40gmail.com



-- 
Thanks,
Andrew Svetlov


More information about the Python-Dev mailing list