10000 gh-120323: Constant fold entire attribute loads by Fidget-Spinner · Pull Request #120344 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-120323: Constant fold entire attribute loads #120344

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

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update test_opt.py
  • Loading branch information
Fidget-Spinner committed Jun 11, 2024
commit 85a5f361e3211a3d577fe7ad95fd6f99e191518e
2 changes: 1 addition & 1 deletion Lib/test/test_capi/test_opt.py
Original file line number Diff line number Diff line change
Expand Up @@ -1486,7 +1486,7 @@ def test_type_attribute_constant_propagated(self):
src = textwrap.dedent("""
class MyEnum:
A = 1

def testfunc(n):
for i in range(n):
x = MyEnum.A
Expand Down
Loading
0