-
-
Notifications
You must be signed in to change notification settings - Fork 33.3k
Closed
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-featureA feature request or enhancementA feature request or enhancement
Description
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
inoperator 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
Metadata
Metadata
Assignees
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-featureA feature request or enhancementA feature request or enhancement