Skip to content

Fixed operator equal-precedence bug#49

Merged
Intuity merged 2 commits into
Intuity:mainfrom
donaldrobson:donald/fix-operator-precedence
Jun 29, 2026
Merged

Fixed operator equal-precedence bug#49
Intuity merged 2 commits into
Intuity:mainfrom
donaldrobson:donald/fix-operator-precedence

Conversation

@donaldrobson

Copy link
Copy Markdown
Contributor

Expressions were previously interpreted in a strict order, but Python uses hierarchic groups like C, where for instance + and - have equal precedence interpreted left to right.

Added regression test.

NOTE: Because this could theoretically break dependent projects, this might need a major version bump release.

Donald Robson and others added 2 commits June 29, 2026 14:38
Expressions were previously interpreted in a strict order, but Python
uses hierarchic groups like C, where for instance + and - have equal
precedence interpreted left to right.

Added regression test.

NOTE: Because this could theoretically break dependent projects, this
might need a major version bump release.
@Intuity Intuity merged commit 7dd7aac into Intuity:main Jun 29, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants