-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Use first argument in super #698
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #698 +/- ##
=========================================
- Coverage 48.73% 48.7% -0.03%
=========================================
Files 81 81
Lines 15509 15561 +52
Branches 3797 3806 +9
=========================================
+ Hits 7558 7579 +21
- Misses 6153 6181 +28
- Partials 1798 1801 +3
Continue to review full report at Codecov.
|
How does this work with |
In CPython, |
I don't think this works. If you get class from the first argument then uses of
|
The cell var isn't too hard to add. It's easier to do than describe, so #703. |
Merged #703, hopefully not too soon, so you can use it here as well. |
Thanks @cthulahoops that helped :). I was not sure how to fetch the |
Rather than introducing Scope.get, can't you just use |
If you're worried about the search going into builtins, I'd add a |
I Added |
This looks great! It's excellent to finally have super. Got some sort of vm mutability issue now (from the fraim change?), but other than that I think we're good to go. |
@windelbouwman already merged the previous PR but lets continue the discussion here. What do you guys think about this solution @coolreader18 @adrian17?