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 pablogsal
Recipients benjamin.peterson, candide, ezio.melotti, iritkatriel, martin.panter, mrabarnett, pablogsal, scoder, serhiy.storchaka, steven.daprano
Date 2021-09-04.21:19:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630790341.49.0.427497767558.issue24612@roundup.psfhosted.org>
In-reply-to
Content
I think the best outcome here is to refine the syntax error. Making it behave a bit better is going to be quite a pain because of how unary "-" and "not" work on the priority level in the grammar.

I also don't think that facilitating the concatenation of operators without parentheses is a good idea (for readability reasons). 

I will prepare a PR to improve the syntax error
History
Date User Action Args
2021-09-04 21:19:01pablogsalsetrecipients: + pablogsal, scoder, benjamin.peterson, ezio.melotti, mrabarnett, steven.daprano, martin.panter, serhiy.storchaka, candide, iritkatriel
2021-09-04 21:19:01pablogsalsetmessageid: <1630790341.49.0.427497767558.issue24612@roundup.psfhosted.org>
2021-09-04 21:19:01pablogsallinkissue24612 messages
2021-09-04 21:19:01pablogsalcreate