[Python-ideas] In call grammar, replace primary with possible_call? (was Re: ...quote followed by a left parenthesis...?)

Steven D'Aprano steve at pearwood.info
Thu Jul 16 06:18:21 CEST 2015


On Wed, Jul 15, 2015 at 07:03:50PM -0400, Terry Reedy wrote:

> So here is the proposal: in the call definition, change primary to
>   possible_call ::= identifier | parenth_form | yield_atom
>                     | attributeref | subscription | slicing | call
> 
> As for error messages, there is another thread suggesting that the 
> messages for SyntexError might be vastly improved.


This sounds like a good proposal. +1


-- 
Steve


More information about the Python-ideas mailing list