On Sat, Feb 06, 2021 at 10:26:23AM -0000, redrad...@gmail.com wrote: > Deno is JavaScript runtime that has very nice feature like Top Level > Await, I think it would be also nice to have such feature in Python, > it will make using async/await more convenient > > What do you think ? Share your ideas lets discuss ...
I don't know what to think because I don't know what "top level await" means to you. Can you show an example of what it would look like, how you would use it, and *why* you would use it? Can you show a simple example of a task that would be better with top level await, and why it is better? -- Steve _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/LPNTX3V2HWVCYPJOGMLD7PQRQUMUGMJM/ Code of Conduct: http://python.org/psf/codeofconduct/