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
Update Lib/test/test_peepholer.py
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
  • Loading branch information
WolframAlph and iritkatriel authored Feb 9, 2025
commit 16c66f9adbfc411bfbf82d8f921dbac27a3d9da8
2 changes: 1 addition & 1 deletion Lib/test/test_peepholer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@ def f():
]
self.assertEqual(f(), list(range(40)))

def test_build_set_stack_use_guideline(self):
def test_set_exceeding_stack_use_guideline(self):
def f():
return {
0, 1, 2, 3, 4,
Expand Down
Loading
0