You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
Snowapril
changed the title
Need compare between metaclass and class of classcell in __build_class__
Need compare between metaclass and internal contents of classcell in __build_class__Jul 10, 2022
Feature
https://github.com/RustPython/RustPython/blob/main/vm/src/stdlib/builtins.rs#L899-L919
We should compare between
class
(invoked by metaclass) andclasscell
's internal contents before exiting__build_class__
At now we manually set classcell's internal contents with
class
, but this should be done intype.__new__
Python Documentation
Related test cases
test_super.py
test___classcell___overwrite
test___classcell___missing
test___classcell___wrong_cell
test___class___new
test___class___delayed
The text was updated successfully, but these errors were encountered: