This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author asvetlov
Recipients asvetlov, rmlibre, yselivanov
Date 2019-11-01.18:40:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1572633607.46.0.329116090637.issue38664@roundup.psfhosted.org>
In-reply-to
Content
What patch are you talking about?
For me, patch means something special; e.g. working fork of CPython where the proposed idea is implemented.

I read await coro()[key] as 
1. Function named coro() returns a dict-like object
2. An element under key is selected from dict, which is expected to be an awaitable.
3. The awaitable is awaited.

Pretty clear and unambiguous.

Changing await priority depending on the presence or absence of brackets on the right makes Python syntax very complex if possible at all.

Sorry, the proposal has zero chance to be accepted.
History
Date User Action Args
2019-11-01 18:40:07asvetlovsetrecipients: + asvetlov, yselivanov, rmlibre
2019-11-01 18:40:07asvetlovsetmessageid: <1572633607.46.0.329116090637.issue38664@roundup.psfhosted.org>
2019-11-01 18:40:07asvetlovlinkissue38664 messages
2019-11-01 18:40:07asvetlovcreate