8000 gh-126835: make CFG optimizer skip over NOP's when looking for const sequence construction by WolframAlph · Pull Request #129703 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-126835: make CFG optimizer skip over NOP's when looking for const sequence construction #129703

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Feb 9, 2025
Prev Previous commit
Next Next commit
Update Lib/test/test_peepholer.py
  • Loading branch information
iritkatriel authored Feb 9, 2025
commit 1574122176472fb12c5d9e4d54b7ab0848216aaa
2 changes: 1 addition & 1 deletion Lib/test/test_peepholer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ def test_conditional_jump_forward_non_const_condition(self):
consts=[0, 1, 2, 3, 4],
expected_consts=[0, 2, 3])

def test_build_list_stack_use_guideline(self):
def test_list_exceeding_stack_use_guideline(self):
def f():
return [
0, 1, 2, 3, 4,
Expand Down
Loading
0