The Wayback Machine - https://web.archive.org/web/20220517151213/https://github.com/RustPython/RustPython/issues/3610
Skip to content
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

Add __self__ and __self_class__ property accessor for super #3610

Closed
Snowapril opened this issue Apr 14, 2022 · 1 comment
Closed

Add __self__ and __self_class__ property accessor for super #3610

Snowapril opened this issue Apr 14, 2022 · 1 comment
Labels
good first issue

Comments

@Snowapril
Copy link
Contributor

@Snowapril Snowapril commented Apr 14, 2022

Feature

Add __self__ and __self_class__ for PySuper. Please refer this PR #3601
For now, obj field in RustPython have both for obj and obj_type in cpython. See below link

Python Documentation

https://github.com/python/cpython/blob/main/Objects/typeobject.c#L8755-L8772

@youknowone youknowone added the good first issue label Apr 14, 2022
@youknowone
Copy link
Member

@youknowone youknowone commented Apr 25, 2022

@djrmarques if you are looking for a good starting point to learn how RustPython works, this is a good starting point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue
Projects
None yet
Development

No branches or pull requests

2 participants