[Python-Dev] PEP 492 vs. PEP 3152, new round

Ethan Furman ethan at stoneleaf.us
Wed Apr 29 19:25:21 CEST 2015


On 04/29, Yury Selivanov wrote:
> On 2015-04-29 11:29 AM, Ethan Furman wrote:
>> Python is not lisp, and await is not a
>> function, so parens should not be needed in the common case.
> 
> Which common case you mean?

The common case of not wanting to write parenthesis.  ;)

Seriously, why are the parens necessary?

  await (-coro())

from the many examples above that just work, it's a mystery
why

  await -coro()

cannot also just work and be the same as the parenthesized
version.

--
~Ethan~


More information about the Python-Dev mailing list