Message315923
Precedence issues when dealing with units is unavoidable, I think. The units program on Linux/Unix has similar issues, and they write their own parser and choose their own precedence.
https://www.gnu.org/software/units/manual/html_node/Operators.html
As Eric says, we can't change the precedence of the @ operator easily, if at all. It would likely require at least one full release (3.8) with a warning, or a future import, and frankly if the numpy community is against it you'll have zero chance of it happening. (On the other hand, if they're in favour of it, you'll have a good chance.)
If you still want to pursue this idea further, please take the idea to the numpy and/or Python-Ideas mailing lists for further discussion:
https://www.scipy.org/scipylib/mailing-lists.html
https://mail.python.org/mailman/listinfo/python-ideas
but for now I'm going to set the issue to pending. |
|
Date |
User |
Action |
Args |
2018-04-30 00:10:13 | steven.daprano | set | recipients:
+ steven.daprano, eric.smith, FabriceSalvaire |
2018-04-30 00:10:13 | steven.daprano | set | messageid: <1525047013.41.0.682650639539.issue33390@psf.upfronthosting.co.za> |
2018-04-30 00:10:13 | steven.daprano | link | issue33390 messages |
2018-04-30 00:10:11 | steven.daprano | create | |
|