[Python-Dev] async/await in Python; v2 (original) (raw)
Andrew Svetlov andrew.svetlov at gmail.com
Sat Apr 25 11:01:19 CEST 2015
- Previous message (by thread): [Python-Dev] async/await in Python; v2
- Next message (by thread): [Python-Dev] async/await in Python; v2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): [Python-Dev] async/await in Python; v2
- Next message (by thread): [Python-Dev] async/await in Python; v2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]