Use first argument in super#698
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 frame 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?