[issue36428] Support AutoAwait?

2019-03-25 Thread Guido van Rossum
Guido van Rossum added the comment: Oh, you're right. Thanks! Closing in favor of issue34616. -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker __

[issue36428] Support AutoAwait?

2019-03-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- superseder: -> implement "Async exec" ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue36428] Support AutoAwait?

2019-03-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think this is same as issue34616 . The issue talks about the workarounds IPython has to use for the feature and links to the PR where it was implemented https://github.com/ipython/ipython/pull/11265 . I never knew about this feature and this will

[issue36428] Support AutoAwait?

2019-03-25 Thread Yury Selivanov
Yury Selivanov added the comment: Absolutely. I think there's another open issue for this and I even have a dev branch somewhere with this idea half implemented. Definitely something to have in 3.8. -- ___ Python tracker

[issue36428] Support AutoAwait?

2019-03-25 Thread Guido van Rossum
New submission from Guido van Rossum : I just found out about IPython's autoawait feature: https://ipython.readthedocs.io/en/stable/interactive/autoawait.html 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