Author gvanrossum
Recipients asvetlov, gvanrossum, yselivanov
Date 2019-03-25.23:49:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I just found out about IPython's autoawait feature:

I wonder if we should at least help them do this right in Python 3.8 by having a flag to compile() that allows `await` in the toplevel syntax? It looks like a relatively small change would suffice to make compiler_visit_expr1() in Python/compile.c accept (and generate correct code for) Await_kind outside async functions, if some flag is set.
Date User Action Args
2019-03-25 23:49:29gvanrossumsetrecipients: + gvanrossum, asvetlov, yselivanov
2019-03-25 23:49:29gvanrossumsetmessageid: <>
2019-03-25 23:49:29gvanrossumlinkissue36428 messages
2019-03-25 23:49:29gvanrossumcreate