Feature or enhancement
Proposal:
Currently we have a one test case which testing that optimize parameter for ast.parse is working as expected.
I propose to add tests for these ast optimizations:
- Optimization for binary operations if left and right operands are constants
- Optimization for unary operations if operand is constant
- Optimization for
in operator if right operand is constant list or set
- Folding of tuples
- Subscription for constant sequences (tuple, string)
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
Feature or enhancement
Proposal:
Currently we have a one test case which testing that
optimizeparameter for ast.parse is working as expected.I propose to add tests for these ast optimizations:
inoperator if right operand is constant list or setHas this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs