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 ammar2
Recipients Guido.van.Rossum, aidan.feldman, ammar2, docs@python, gvanrossum, rhettinger, steven.daprano, terry.reedy, zach.ware
Date 2021-04-19.04:55:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1618808130.77.0.319658153456.issue43837@roundup.psfhosted.org>
In-reply-to
Content
Opened https://github.com/python/cpython/pull/25469 for the first suggestion of reversing the precedence table order since it seems like a good improvement. I think the tight binding to weak order is more natural and aside from K&R, the following other languages also follow the same ordering:

* Javascript - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence#table
* PHP - https://www.php.net/manual/en/language.operators.precedence.php
* Rust - https://doc.rust-lang.org/reference/expressions.html#expression-precedence
History
Date User Action Args
2021-04-19 04:55:30ammar2setrecipients: + ammar2, gvanrossum, rhettinger, terry.reedy, steven.daprano, docs@python, zach.ware, Guido.van.Rossum, aidan.feldman
2021-04-19 04:55:30ammar2setmessageid: <1618808130.77.0.319658153456.issue43837@roundup.psfhosted.org>
2021-04-19 04:55:30ammar2linkissue43837 messages
2021-04-19 04:55:30ammar2create