How does the super type present itself and do lookups?

Adam Preble adam.preble at gmail.com
Tue Mar 10 01:12:17 EDT 2020


On Monday, March 9, 2020 at 9:31:45 PM UTC-5, Souvik Dutta wrote:
> This should be what you are looking for.
> https://python-reference.readthedocs.io/en/latest/docs/functions/super.html

I'm not trying to figure out how the super() function works, but rather the anatomy of the object is returns.

What I think is happening in my investigation is that some of the missing attributes in __dict__ are getting filled in from reserved slots, but it's just a theory. I'm trying to mimic the object in my own interpreter project.


More information about the Python-list mailing list