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
{{ message }}
Repository navigation
Panic when setting __class__ with different layout #4634
Setting object's class attribute to a type with different layout cause panic
thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', vm/src/object/core.rs:813:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
which is an error in cpython
TypeError: __class__ assignment: 'TypeB' object layout differs from 'TypeA'
Activity
youknowone commentedon Mar 5, 2023
maybe similar thing cause both this one and #1979