Type Definition PyAttributes
rustpython_vm::pyobject
type PyAttributes =HashMap<String,PyObjectRef>;
For attributes we do not use a dict, but a hashmap. This is probablyfaster, unordered, and only supports strings as keys.TODO: class attributes should maintain insertion order (use IndexMap here)