[Python-Dev] PEP 492 vs. PEP 3152, new round (original) (raw)
Ethan Furman ethan at stoneleaf.us
Wed Apr 29 19:25:21 CEST 2015
- Previous message (by thread): [Python-Dev] PEP 492 vs. PEP 3152, new round
- Next message (by thread): [Python-Dev] PEP 492 vs. PEP 3152, new round
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): [Python-Dev] PEP 492 vs. PEP 3152, new round
- Next message (by thread): [Python-Dev] PEP 492 vs. PEP 3152, new round
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]