[Python-Dev] async/await in Python; v2 (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Apr 25 06:47:33 CEST 2015


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



More information about the Python-Dev mailing list