Hi all,

Just wonder what it would look like if coroutines where awaited by default, you would only have to use "noawait" when you do *not* want to await a coroutine ?

  async def test():
    return do_something()
 
  # it's awaited here by default: we get the result and not a coroutine
  result1 = test()

  # not awaiting here because you want to do_something_else
  coroutine = noawait test()
  do_something_else()
  result2 = await coroutine

Then, you could be chaining code again like this:

   foo_of_result = test().foo

Instead of:

   foo_of_result = (await test()).foo

Thank you in advance for your replies

Have a great weekend !

--