-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
gh-87729: add LOAD_SUPER_ATTR instruction for faster super() #103497
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
Changes from 8 commits
0a0ebe2
f14a3bf
5625e73
0775efe
f229b5b
626999d
9384106
92c943b
775ed0f
2077f1a
64da49f
4759ad9
94399c2
5136459
82945b2
3a3cb74
e4466a7
5c0a21c
f161268
df442c0
19b8025
0de5bc6
dbe1665
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
class super: | ||
msg = "truly super" | ||
|
||
|
||
class C: | ||
def method(self): | ||
return super().msg |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Speed up ``super().meth()`` calls. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please introduce about LOAD_SUPER_ATTR, LOAD_SUPER_ATTR will be exposed to dis user too :) |
Uh oh!
There was an error while loading. Please reload this page.